Skip to content

Commit

Permalink
Fix issue when first loading persisting data (filterTable)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hesyar Uzuner committed Sep 5, 2017
1 parent c614940 commit 5db2074
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/js/SmlAppl.WebApps.NgFramework.js
Original file line number Diff line number Diff line change
Expand Up @@ -3074,7 +3074,7 @@ angular.module('smlAppl.webApps.framework.filterTable').run(['$templateCache', f
TemplateUrl: "./src/Scripts/app/FilterTable/Views/FilterConditionalNumber.html",
Controller: "FilterTableModalConditionalSelectCtrl",
Tooltip: ft.Translations.FilterTable_Conditional_Filter,
Selected: {},
Selected: [],
FnFilter: function (item, col) {
if (this.Selected.length === 0) {
return true;
Expand Down Expand Up @@ -3149,7 +3149,7 @@ angular.module('smlAppl.webApps.framework.filterTable').run(['$templateCache', f
TemplateUrl: "./src/Scripts/app/FilterTable/Views/FilterConditionalDate.html",
Controller: "FilterTableModalConditionalSelectCtrl",
Tooltip: ft.Translations.FilterTable_Conditional_Filter,
Selected: {},
Selected: [],
FnFilter: function (item, col) {
if (this.Selected.length === 0) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion dist/js/SmlAppl.WebApps.NgFramework.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Scripts/app/FilterTable/Config/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ angular.module('smlAppl.webApps.framework.filterTable').run(['$templateCache', f
"\n" +
" <select class=\"form-control\" ng-model=\"conditionalFilterItem.condition\">\r" +
"\n" +
" <option value=\"==\">==</option>\r" +
" <option value=\"==\">=</option>\r" +
"\n" +
" <option value=\"!=\">!=</option>\r" +
"\n" +
Expand Down
4 changes: 2 additions & 2 deletions src/Scripts/app/FilterTable/Factories/filterTableFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@
TemplateUrl: "./src/Scripts/app/FilterTable/Views/FilterConditionalNumber.html",
Controller: "FilterTableModalConditionalSelectCtrl",
Tooltip: ft.Translations.FilterTable_Conditional_Filter,
Selected: {},
Selected: [],
FnFilter: function (item, col) {
if (this.Selected.length === 0) {
return true;
Expand Down Expand Up @@ -1127,7 +1127,7 @@
TemplateUrl: "./src/Scripts/app/FilterTable/Views/FilterConditionalDate.html",
Controller: "FilterTableModalConditionalSelectCtrl",
Tooltip: ft.Translations.FilterTable_Conditional_Filter,
Selected: {},
Selected: [],
FnFilter: function (item, col) {
if (this.Selected.length === 0) {
return true;
Expand Down

0 comments on commit 5db2074

Please sign in to comment.