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;
|
||||
}
|
||||
|
||||
var args = { q: searchTerm, page: this.get("page") };
|
||||
|
||||
this.set("searching", true);
|
||||
this.set("loading", true);
|
||||
this.set("bulkSelectEnabled", false);
|
||||
this.get("selected").clear();
|
||||
|
||||
var args = { q: searchTerm, page: this.get("page") };
|
||||
if (args.page === 1) {
|
||||
this.set("bulkSelectEnabled", false);
|
||||
this.get("selected").clear();
|
||||
}
|
||||
|
||||
const sortOrder = this.get("sortOrder");
|
||||
if (sortOrder && SortOrders[sortOrder].term) {
|
||||
|
|
Loading…
Reference in New Issue