Skip to content

Commit

Permalink
Release 1.6.25 (#348)
Browse files Browse the repository at this point in the history
* Remove the double uri encoding in Filter service. (#343)

* Change version to v1.6.25-alpha

* Fix rounding issue relative mode timepicker (#346)

* Change version to v1.6.25-alpha

* Remove time unit rounding in the relative mode of time picker.

* Update README.
Changed the version number to 1.6.25.
  • Loading branch information
athana authored Aug 27, 2019
1 parent 7de43ab commit 093875c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ Pull the repo from the `release` branch for production deployment; version x.y.z
`fusion` branch is used for Lucidworks Fusion release. The code base and features are the same as `develop`. The main difference
is in the configuration.

## Banana 1.6.24
## Banana 1.6.25

This release includes the following bug fixes and improvement:
1. Fix the filter panel where we cannot add more than one filer when clicking on the plus icon.
1. Fix the Sankey panel. [#338](https://github.com/lucidworks/banana/pull/338)
1. Allow the Terms panel to have a horizontal bar chart. [#338](https://github.com/lucidworks/banana/pull/338)
1. Add Sankey hover/highlight effect. [#340](https://github.com/lucidworks/banana/pull/340)
1. Force diagram numerical node names fix. [#340](https://github.com/lucidworks/banana/pull/340)
1. Remove the double URI encoding issue in Filter service. [#343](https://github.com/lucidworks/banana/pull/343)
1. Fix rounding issue in the relative mode of the Timepicker panel. [#346](https://github.com/lucidworks/banana/pull/346)

## Older Release Notes

Expand Down
4 changes: 2 additions & 2 deletions src/app/panels/timepicker/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ function (angular, app, _, moment, kbn, $) {
timeUnit = 'YEAR';
break;
}
filterTime.from = 'NOW/' + timeUnit + '-' + timeNumber + timeUnit;
filterTime.to = 'NOW/' + timeUnit + '%2B1' + timeUnit;
filterTime.from = 'NOW-' + timeNumber + timeUnit;
filterTime.to = 'NOW%2B1' + timeUnit;
// Add Date objects representation of from and to, for use with histogram panel
// where it needs Date objects for plotting x-axis on a chart.
filterTime.fromDateObj = moment().subtract(timeShorthand,timeNumber).toDate();
Expand Down
2 changes: 1 addition & 1 deletion src/app/partials/dasheditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
ng-options="f for f in ['dark','light']"></select>
</div>
<div class="span2">
<label class="small">Version</label>Banana v1.6.24
<label class="small">Version</label>Banana v1.6.25
</div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/app/services/filterSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ define([
}
} else if (v.type === 'querystring') {
if (v.mandate === 'must') {
filter_fq = filter_fq + '&fq=' + encodeURIComponent(v.query);
filter_fq = filter_fq + '&fq=' + v.query;
} else if (v.mandate === 'mustNot') {
filter_fq = filter_fq + '&fq=-' + encodeURIComponent(v.query);
filter_fq = filter_fq + '&fq=-' + v.query;
} else if (v.mandate === 'either') {
filter_either.push(encodeURIComponent(v.query));
filter_either.push(v.query);
}
} else if (v.type === 'range') {
if (v.mandate === 'must') {
Expand Down

0 comments on commit 093875c

Please sign in to comment.