webstaff: add subscription ID to serials routes
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 24 Apr 2017 21:52:56 +0000 (17:52 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 May 2017 16:06:38 +0000 (12:06 -0400)
commit3689bdd471dab2e52abc74822d9aa832e5b31c8b
tree4739d9dd2c7927df8f5facf89c9abbfc92107fae
parent08a04ad7cbf20391fcd025a88b3018ceb3bb88ee
webstaff: add subscription ID to serials routes

Teach the serials app to recognize the subscription ID if supplied
in the path. The subscription ID is validated against the bib record;
if it doesn't belong to the bib, the path is rewritten to
drop it.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/serials/app.js
Open-ILS/web/js/ui/default/staff/serials/services/core.js