FIX: Fixed vanishing select boxes on full search as new content loads
This commit is contained in:
parent
7ae1afa7d9
commit
5f00624814
|
@ -216,12 +216,14 @@ export default Ember.Controller.extend({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var args = { q: searchTerm, page: this.get("page") };
|
||||||
|
|
||||||
this.set("searching", true);
|
this.set("searching", true);
|
||||||
this.set("loading", true);
|
this.set("loading", true);
|
||||||
|
if (args.page === 1) {
|
||||||
this.set("bulkSelectEnabled", false);
|
this.set("bulkSelectEnabled", false);
|
||||||
this.get("selected").clear();
|
this.get("selected").clear();
|
||||||
|
}
|
||||||
var args = { q: searchTerm, page: this.get("page") };
|
|
||||||
|
|
||||||
const sortOrder = this.get("sortOrder");
|
const sortOrder = this.get("sortOrder");
|
||||||
if (sortOrder && SortOrders[sortOrder].term) {
|
if (sortOrder && SortOrders[sortOrder].term) {
|
||||||
|
|
Loading…
Reference in New Issue