parent
7474916f3a
commit
b93b7082dc
|
@ -255,6 +255,7 @@ var H5PDataView = (function ($) {
|
||||||
var remove = function () {
|
var remove = function () {
|
||||||
self.facets[col].$tag.remove();
|
self.facets[col].$tag.remove();
|
||||||
delete self.facets[col];
|
delete self.facets[col];
|
||||||
|
self.offset = 0; // Reset to page 1
|
||||||
self.loadData();
|
self.loadData();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -275,6 +276,9 @@ var H5PDataView = (function ($) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Reset to page 1
|
||||||
|
self.offset = 0;
|
||||||
|
|
||||||
// Load data with new filter
|
// Load data with new filter
|
||||||
self.loadData();
|
self.loadData();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue