inspirehep / inspire-next

The INSPIRE repo.
https://inspirehep.net
GNU General Public License v3.0
59 stars 69 forks source link

holdingpen: deleting records from the list view redirects to unfiltered view #2108

Closed michamos closed 7 years ago

michamos commented 7 years ago

When in a filtered list view in the holdingpen, deleting several records (by checking the checkboxes and clicking on the delete button that appears) redirects to the full unfiltered list. Instead, it should preserve the active filters.

jmartinm commented 7 years ago

Changing https://github.com/inspirehep/inspirehep-search-js/blob/master/src/inspirehep-holdingpen-js/holdingpen/holdingpen.directives.js#L76 to

window.location.reload();

should be enough