Koha/serials
Jonathan Druart 3b3094a983 Bug 37247: Fix display of "closed"
The subscription was not shown as closed after we closed it.
This is because "closed" is not passed to the template.
It seems more reliable to rely on the subscription object (that is passed to both
serials/serials-collection.tt and serials/subscription-detail.tt, the
others are not showing the Reopen/Close buttons)

Also fetch the subscription object after and reopen/close it to display
accurate values.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 3cf17aa16f70e978f654345274972b65ca7b6164)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
2024-07-23 12:26:02 +02:00
..
acqui-search-result.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
acqui-search.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
checkexpiration.pl Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
claims.pl Bug 30377: Fix two CGI::param called in list context-warnings 2022-04-04 16:23:46 +02:00
create-numberpattern.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
lateissues-export.pl Bug 36511: Some scripts missing a dependency following Bug 24879 2024-04-15 07:49:13 +00:00
reorder_members.pl Bug 20015: use Modern::Perl in Serials perl script 2018-02-05 09:46:45 -03:00
routing-preview.pl Bug 31318: Remove GetItemsInfo from serials/routing-preview 2022-08-16 09:27:15 -03:00
routing.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
serials-collection.pl Bug 29790: Restore warning if deletion of serial item fails 2022-01-11 12:38:35 -10:00
serials-edit.pl Bug 34146: Counterpart for serials-edit 2023-07-18 13:11:36 +00:00
serials-home.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
serials-search.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
showpredictionpattern.pl Bug 33901: (bug 30718 follow-up) Predition pattern - don't set end date to today 2023-07-12 09:36:03 +00:00
subscription-add.pl Bug 29697: Use flag embed_items 2022-07-22 15:24:11 -03:00
subscription-batchedit.pl Bug 35073: perltidy subscription-batchedit.pl 2023-11-14 13:40:44 -01:00
subscription-bib-search.pl Bug 33803: Remove comment about tab width 2023-06-12 10:28:26 +00:00
subscription-detail.pl Bug 37247: Fix display of "closed" 2024-07-23 12:26:02 +02:00
subscription-frequencies.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
subscription-frequency.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
subscription-history.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
subscription-numberpattern.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
subscription-numberpatterns.pl Bug 29608: Made so doesn't require full permission 2022-09-07 13:49:53 -07:00
subscription-renew.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
viewalerts.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00