Bug 39997: List of closed serials: reopening shouldn't require the syspref RoutingSerials
Test plan:
1 - Create a closed serial
2 - Disable the syspref "RoutingSerials"
3 - Go to cgi-bin/koha/serials/serials-search.pl and search for the
closed serial ; click on the "closed" panel of the result -> on the
actions button, there is no option to reopen
4 - Apply patch
5 - Repeat 3, there is now an option to reopen.
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 573b226997)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
8ba7f1cecd
commit
48a06d1513
|
|
@ -136,19 +136,17 @@
|
|||
[% IF closed %]
|
||||
<a class="btn btn-default btn-xs dropdown-toggle" id="closedsubactions[% subscription.subscriptionid | html %]" role="button" data-bs-toggle="dropdown" href="#"> Actions </a>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="closedsubactions[% subscription.subscriptionid | html %]">
|
||||
[% IF ( routing && CAN_user_serials_routing ) %]
|
||||
[% UNLESS ( subscription.cannotedit ) %]
|
||||
<li>
|
||||
<a
|
||||
class="dropdown-item"
|
||||
href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid | uri %]&op=reopen&routing=[% subscription.routing | uri %]&searched=1&title_filter=[% title_filter | uri %]&ISSN_filter=[% ISSN_filter | uri %]&EAN_filter=[% EAN_filter | uri %]&published_filter=[% publisher_filter | uri %]&bookseller_filter=[% bookseller_filter | uri %]&branch_filter=[% branch_filter | uri %]"
|
||||
id="reopensub"
|
||||
>
|
||||
<i class="fa-solid fa-arrow-rotate-right"></i> Reopen</a
|
||||
>
|
||||
</li>
|
||||
[% END %]
|
||||
[% END # IF ( routing && CAN_user_serials_routing ) %]
|
||||
[% UNLESS ( subscription.cannotedit ) %]
|
||||
<li>
|
||||
<a
|
||||
class="dropdown-item"
|
||||
href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid | uri %]&op=reopen&[% IF ( routing && CAN_user_serials_routing ) %]routing=[% subscription.routing | uri %]&[% END %]searched=1&title_filter=[% title_filter | uri %]&ISSN_filter=[% ISSN_filter | uri %]&EAN_filter=[% EAN_filter | uri %]&published_filter=[% publisher_filter | uri %]&bookseller_filter=[% bookseller_filter | uri %]&branch_filter=[% branch_filter | uri %]"
|
||||
id="reopensub"
|
||||
>
|
||||
<i class="fa-solid fa-arrow-rotate-right"></i> Reopen</a
|
||||
>
|
||||
</li>
|
||||
[% END %]
|
||||
|
||||
<li>
|
||||
<a class="dropdown-item" href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid | uri %]"><i class="fa-solid fa-rectangle-list"></i> Issue history</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue