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(); } }