Merge branch 'release'

pull/18/head
Frode Petterson 2016-04-12 15:06:30 +02:00
commit e26a662341
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}; };