Bugzilla – Attachment 50270 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: Make routing list title editable
Bug-7957-Make-routing-list-title-editable.patch (text/plain), 2.45 KB, created by
Julian Maurice
on 2016-04-15 13:11:23 UTC
(
hide
)
Description:
Bug 7957: Make routing list title editable
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2016-04-15 13:11:23 UTC
Size:
2.45 KB
patch
obsolete
>From 32b41e69562ee3780e989d6375ec6367a4cacea4 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 15 Apr 2016 15:11:12 +0200 >Subject: [PATCH] Bug 7957: Make routing list title editable > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/routinglist.tt | 10 ++++++++-- > serials/routinglist.pl | 3 ++- > 2 files changed, 10 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routinglist.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routinglist.tt >index 641947e..f38a5ff 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routinglist.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routinglist.tt >@@ -181,8 +181,14 @@ $(document).ready(function() { > <input type="hidden" id="borrowersids" name="borrowersids" value="[% borrowersids %]" /> > <input type="hidden" name="op" value="mod" /> > <input type="hidden" name="routinglistid" value="[% routinglistid %]" /> >- <label for="notes">Notes: </label><br /> >- <textarea id="notes" name="notes">[% notes %]</textarea><br /> >+ <div> >+ <label for="title">Title: </label> >+ <input type="text" id="title" name="title" value="[% title %]"/> >+ </div> >+ <div> >+ <label for="notes">Notes: </label><br /> >+ <textarea id="notes" name="notes">[% notes %]</textarea><br /> >+ </div> > <input type="submit" value="Save" /> > <input type="button" value="Cancel" onclick="window.location.href='/cgi-bin/koha/serials/routinglists.pl?subscriptionid=[% subscriptionid %]';" /> > </form> >diff --git a/serials/routinglist.pl b/serials/routinglist.pl >index de772db..61ba0ae 100755 >--- a/serials/routinglist.pl >+++ b/serials/routinglist.pl >@@ -73,9 +73,10 @@ if($op && $op eq 'savenew') { > > if($op && $op eq 'mod') { > my $borrowersids = $input->param('borrowersids'); >+ my $title = $input->param('title'); > my $notes = $input->param('notes'); > my @borrowernumbers = split /:/, $borrowersids; >- ModRoutingList($routinglistid, undef, undef, $notes, @borrowernumbers); >+ ModRoutingList($routinglistid, undef, $title, $notes, @borrowernumbers); > my $routinglist = GetRoutingList($routinglistid); > print $input->redirect("/cgi-bin/koha/serials/routinglists.pl?subscriptionid=".$routinglist->{'subscriptionid'}); > exit; >-- >2.1.4
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