Commit a2c6082e3d8e979ab73e79cc40e0e36b627db6a5

Authored by Benjamin Renard
2 parents 5177e498 a478e892

Merge branch 'amdadev'

js/app/models/PlotObjects/PlotObjectConfig.js
... ... @@ -484,8 +484,8 @@ Ext.define('amdaPlotObj.PlotObjectConfig', {
484 484 ],
485 485  
486 486 availableFilteringLevel : [
487   - {'key' : 1, 'value' : 'Low'},
488   - {'key' : 2, 'value' : 'Medium'},
  487 + {'key' : 1, 'value' : 'Weak'},
  488 + {'key' : 2, 'value' : 'Intermediate/moderated'},
489 489 {'key' : 3, 'value' : 'Strong'}
490 490 ],
491 491  
... ...
js/app/views/PlotComponents/PlotBaseSerieForm.js
... ... @@ -104,8 +104,8 @@ Ext.define('amdaPlotComp.PlotBaseSerieForm', {
104 104 this.addStandardFieldSet('Lines', 'serie-lines-activated', this.addStandardLineItems('serie-lines')),
105 105 this.addStandardFieldSet('Symbols', 'serie-symbols-activated', this.addStandardSymbolsItems('serie-symbols')),
106 106 this.addStandardFieldSet('Time ticks', 'serie-timetick-activated', this.getTimeTickItems()),
107   - this.addStandardFieldSet('Interval ticks', 'serie-intervaltick-activated', this.getIntervalTickItems()),
108   - this.addStandardFieldSet('Filtering ( ! Experimental ! )', 'filtering-activated', this.getFilteringItems())
  107 + this.addStandardFieldSet('Interval ticks', 'serie-intervaltick-activated', this.getIntervalTickItems()),
  108 + this.addStandardFieldSet('Spike Filtering ( ! Experimental ! )', 'filtering-activated', this.getFilteringItems())
109 109 ];
110 110 }
111 111 });
... ...
js/app/views/PlotComponents/PlotSpectroForm.js
... ... @@ -43,13 +43,13 @@ Ext.define('amdaPlotComp.PlotSpectroForm', {
43 43 this.addStandardCheck('spectro-log0-as-min', 'Show 0 values as Min Values in log scale', function(name, value, oldValue) {
44 44 me.object.set('spectro-log0-as-min', value);
45 45 }),
46   - this.addStandardCombo('spectro-normalization', 'Normalization', amdaPlotObj.PlotObjectConfig.availableSpectroNormalization, function(name, value, oldValue) {
  46 + this.addStandardCombo('spectro-normalization', 'Normalization', amdaPlotObj.PlotObjectConfig.availableSpectroNormalization, function(name, value, oldValue) {
47 47 if (me.object.get('spectro-normalization') != value)
48 48 {
49 49 me.object.set('spectro-normalization', value);
50 50 }
51 51 }),
52   - this.addStandardFieldSet('Filtering ( ! Experimental ! )', 'filtering-activated', this.getFilteringItems())
  52 + this.addStandardFieldSet('Spike Filtering ( ! Experimental ! )', 'filtering-activated', this.getFilteringItems())
53 53 ];
54 54 }
55 55 });
... ...
php/classes/UserMgr.php
... ... @@ -729,7 +729,8 @@ class UserMgr
729 729  
730 730 if (!empty($this->datasetsTimeRestriction)) {
731 731 foreach ($this->datasetsTimeRestriction as $datasetTimeRestriction) {
732   - $nodes = $xp->query("//dataset[@xml:id='".str_replace('_','-',$datasetTimeRestriction['vi'])."']");
  732 + $dataset_id = str_replace('_','-',$datasetTimeRestriction['vi']);
  733 + $nodes = $xp->query("//dataset[@xml:id='".$dataset_id."' or @PriorID='".$dataset_id."']");
733 734 if ($nodes->length > 0) {
734 735 foreach ($nodes as $node) {
735 736 $timeRestriction = $datasetTimeRestriction['restriction'];
... ...