Bugzilla – Attachment 97523 Details for
Bug 7957
Routing lists: manage several routing list for each subscription, and export them as CSV
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7957: Skip the routing list selection screen if not necessary
Bug-7957-Skip-the-routing-list-selection-screen-if.patch (text/plain), 1.19 KB, created by
Julian Maurice
on 2020-01-17 14:11:04 UTC
(
hide
)
Description:
Bug 7957: Skip the routing list selection screen if not necessary
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-01-17 14:11:04 UTC
Size:
1.19 KB
patch
obsolete
>From 8d74b0c09b73c749796ed6cd36e67a9ea3e890da Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 17 Jan 2020 14:16:41 +0100 >Subject: [PATCH] Bug 7957: Skip the routing list selection screen if not > necessary > >--- > serials/routing-preview-slip.pl | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/serials/routing-preview-slip.pl b/serials/routing-preview-slip.pl >index 9b1ca085b9..46b4b52c89 100755 >--- a/serials/routing-preview-slip.pl >+++ b/serials/routing-preview-slip.pl >@@ -62,6 +62,14 @@ if (!$routinglistid) { > my $subscription = GetSubscription($serial->{subscriptionid}); > my $biblio = Koha::Biblios->find($subscription->{subscriptionid}); > my @routinglists = GetRoutingLists($subscription->{subscriptionid}); >+ >+ # If there is only one routing list, skip the routing list selection screen >+ if (@routinglists == 1) { >+ my $routinglistid = $routinglists[0]->{routinglistid}; >+ print $input->redirect("/cgi-bin/koha/serials/routing-preview-slip.pl?serialid=$serialid&routinglistid=$routinglistid"); >+ exit; >+ } >+ > $template->param( > missing_parameter_routinglistid => 1, > serialid => $serialid, >-- >2.20.1
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 7957
:
9259
|
10973
|
13217
|
16614
|
21340
|
22726
|
35709
|
35801
|
35802
|
35803
|
35804
|
35842
|
35860
|
35872
|
35873
|
35874
|
35875
|
38425
|
41762
|
41763
|
41764
|
42427
|
42428
|
42429
|
47633
|
47634
|
47635
|
47659
|
47660
|
47661
|
47662
|
47663
|
47664
|
50226
|
50227
|
50228
|
50265
|
50266
|
50270
|
50273
|
97519
|
97520
|
97521
|
97522
| 97523 |
97524