From 4d428acd12cbd2d2200742c8bbca50f188da344b Mon Sep 17 00:00:00 2001 From: Orestis Moresis Date: Fri, 24 Feb 2023 12:33:31 +0200 Subject: [PATCH] remove debugging exit statement --- public/js/more-info.js | 3 +-- src/Data/descriptors.php | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/public/js/more-info.js b/public/js/more-info.js index 7c99482..9e4fd68 100644 --- a/public/js/more-info.js +++ b/public/js/more-info.js @@ -71,6 +71,7 @@ function moreInfo() { gridCode = Alpine.store('entity').cellcode.substr(0,4); } + console.debug("entity group:::: ", this.entityGroup); switch(dropdown) { case 'd': url += '/interface/dropdowns/descriptors?entity_id=' + this.entityId + '&cellcode=' + gridCode; @@ -121,8 +122,6 @@ function moreInfo() { this.lineChart = {}; var ctx = document.getElementById('data-chart').getContext('2d'); console.debug('fetching...'); - console.debug('params: ',this.params); - console.debug('entity group: ',this.entityGroup); const url = `/data/external/POSEIDON/${Alpine.store('entity').tspr}_${Alpine.store('entity').type}_${Alpine.store('entity').pid}`; fetch(url) .then(res => res.json()) diff --git a/src/Data/descriptors.php b/src/Data/descriptors.php index 7353f77..6ea2f4d 100644 --- a/src/Data/descriptors.php +++ b/src/Data/descriptors.php @@ -34,8 +34,6 @@ if (!empty($cellcode)) { JOIN criterias c on cps.criteria_id = c.id JOIN descriptors d on c.parent_id = d.id WHERE station_reference_id = {$entity_id}"; -echo $query; -exit(); } }