Fridolin Somers
e3a0ad463b
Move close and reopen after get_template_and_user(). Also move Koha::Subscriptions->find(), not a good idea to run DB queries before authentication. Test plan : 1) Apply patch 2) Authenticate to staff interface 3) Go to an existing open subscription 4) Open a new browser tab and use it to log-out 5) Go to first tab and click on 'Close' 6) You get login page 7) Authenticate 8) Check subscription is not closed 9) Check you can close and reopen subscription Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> |
||
---|---|---|
.. | ||
acqui-search-result.pl | ||
acqui-search.pl | ||
checkexpiration.pl | ||
claims.pl | ||
create-numberpattern.pl | ||
lateissues-export.pl | ||
reorder_members.pl | ||
routing-preview.pl | ||
routing.pl | ||
serials-collection.pl | ||
serials-edit.pl | ||
serials-home.pl | ||
serials-search.pl | ||
showpredictionpattern.pl | ||
subscription-add.pl | ||
subscription-batchedit.pl | ||
subscription-bib-search.pl | ||
subscription-detail.pl | ||
subscription-frequencies.pl | ||
subscription-frequency.pl | ||
subscription-history.pl | ||
subscription-numberpattern.pl | ||
subscription-numberpatterns.pl | ||
subscription-renew.pl | ||
viewalerts.pl |