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>
Mon, 24 Apr 2017 21:52:56 +0000 (17:52 -0400)
commitc2465fb7c3d6a6fb52c11acc40452ca40007d052
tree43d4b5846bae886747a64e760ece786573b08d05
parentea8ded42519c4369148c59e3cb2ac8faf70a153f
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