Skip to content

Commit

Permalink
Merge d772738 into f2152a0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gooliver2 committed Feb 26, 2019
2 parents f2152a0 + d772738 commit 37d9d5c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ Always reference the ticket number at the end of the issue description.
- BREAKING! Fixed response in DeletionMixin after `delete` method is called [#334][334]
- Added default `select_multiple` attr for `QuickFiltersSelectMultiple` widget [#340][340]
- Updated Selectize version [#334][334]
- Disabled options ordering by selectize in all Selectize widgets [#344][344]

[334]: //github.com/sanoma/django-arctic/issues/334
[340]: //github.com/sanoma/django-arctic/issues/340
[342]: //github.com/sanoma/django-arctic/issues/342
[344]: //github.com/sanoma/django-arctic/issues/344


## 1.3.6 (2019-01-22)
Expand Down
15 changes: 15 additions & 0 deletions arctic/static/arctic/src/assets/js/components/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ $(document).ready(function() {
if ($(instance).next().find('.item').length == 0) {
$(instance).next().next().removeAttr('style');
}
},
// Selectize reoders search results to find best match.
// But we wan't to keep original order by default
score: function() {
return function() { return 1 };
}
});
});
Expand All @@ -83,6 +88,11 @@ $(document).ready(function() {
value: input,
text: input
}
},
// Selectize reoders search results to find best match.
// But we wan't to keep original order by default
score: function() {
return function() { return 1 };
}
});
});
Expand Down Expand Up @@ -119,6 +129,11 @@ $(document).ready(function() {
$(instance).next().next().removeAttr('style');
}
},
// Selectize reoders search results to find best match.
// But we wan't to keep original order by default
score: function() {
return function() { return 1 };
}
});
});

Expand Down

0 comments on commit 37d9d5c

Please sign in to comment.