Bugzilla – Attachment 182783 Details for
Bug 39997
List of closed serials: reopening requires the syspref "RoutingSerials"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39997: List of closed serials: reopening shouldn't require the syspref RoutingSerials
Bug-39997-List-of-closed-serials-reopening-shouldn.patch (text/plain), 4.35 KB, created by
Baptiste Wojtkowski (bwoj)
on 2025-05-26 11:07:59 UTC
(
hide
)
Description:
Bug 39997: List of closed serials: reopening shouldn't require the syspref RoutingSerials
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2025-05-26 11:07:59 UTC
Size:
4.35 KB
patch
obsolete
>From c29d43c5d2f19e4de9216ba4700834b6c2f0556f Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Mon, 26 May 2025 13:00:20 +0200 >Subject: [PATCH] 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. >--- > .../prog/en/modules/serials/serials-search.tt | 24 +++++++++---------- > 1 file changed, 11 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index 1ad0ab6f..fe5eb4de 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -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> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39997
:
182783
|
182800