Commit d5e126d3f46b0e87a9cdd1c3df363db007e15f5e

Authored by Benjamin Renard
1 parent f1ff330b

Fix typo

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
js/app/models/RequestParamObject.js
... ... @@ -44,7 +44,7 @@ Ext.define('amdaModel.RequestParamObject', {
44 44 if (this.get('dim1-is-range')) {
45 45 paramIndexes = '(range[' + this.get('dim1-min-range') + ',' + this.get('dim1-max-range') + '])';
46 46 }
47   - else if (this.get('dim2-min-range')) {
  47 + else if (this.get('dim2-is-range')) {
48 48 paramIndexes = '(range[' + this.get('dim2-min-range') + ',' + this.get('dim2-max-range') + '])';
49 49 }
50 50 else {
... ... @@ -62,7 +62,7 @@ Ext.define('amdaModel.RequestParamObject', {
62 62 else
63 63 dim1 = this.get('dim1-index') != '' ? this.get('dim1-index') : "*";
64 64 var dim2 = '';
65   - if (this.get('dim2-min-range'))
  65 + if (this.get('dim2-is-range'))
66 66 dim2 = 'range[' + this.get('dim2-min-range') + ',' + this.get('dim2-max-range') + ']';
67 67 else
68 68 dim2 = this.get('dim2-index') != '' ? this.get('dim2-index') : "*";
... ...