Bugzilla – Attachment 2160 Details for
Bug 4805
Multiple subscriptionid's passed to serials-collection.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Propose patch - replacement for previous patch
0007-Bug-4805-Fixes-multiple-subscriptionid-s-being-pass.patch (text/plain), 2.46 KB, created by
Garry Collum
on 2010-05-23 23:46:01 UTC
(
hide
)
Description:
Propose patch - replacement for previous patch
Filename:
MIME Type:
Creator:
Garry Collum
Created:
2010-05-23 23:46:01 UTC
Size:
2.46 KB
patch
obsolete
>From 2653f225a7b54736d65bc3174f86fbb04cfb5ac9 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Sun, 23 May 2010 19:50:16 -0400 >Subject: [PATCH] Bug 4805: Fixes multiple subscriptionid's being passed to serials-collection. >Content-Type: text/plain; charset="utf-8" > >This is a replacement patch for my previous patch. > >This patch insures that only unique subscriptionids are defined in the serials-edit form. Multiple ids are passed to serials-collection, but not multiple copies of the same id. >--- > .../prog/en/modules/serials/serials-edit.tmpl | 7 ++++--- > 1 files changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tmpl >index 774247f..dd73db9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tmpl >@@ -187,7 +187,10 @@ function CloneSubfield(index){ > </div> > <!--/TMPL_IF --> > >- <input type="hidden" name="op" value="serialchangestatus" /> >+ <input type="hidden" name="op" value="serialchangestatus" /> >+ <!--TMPL_LOOP Name="subscriptions"--> >+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" /> >+ <!--/TMPL_LOOP --> > <table> > <tr> > <th>Numbered</th> >@@ -204,7 +207,6 @@ function CloneSubfield(index){ > <!-- /TMPL_UNLESS --> > <td> > <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->" /> >- <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" /> > <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /> > <input type="hidden" name="itemcount" value="<!-- TMPL_VAR name="issuesatonce" -->" /> > <input type="hidden" name="user" value="<!-- TMPL_VAR name="librarian" -->" /> >@@ -317,7 +319,6 @@ function CloneSubfield(index){ > <tr> > <td> > <input type="hidden" name="serialid" value="NEW" /> >- <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" /> > <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" /> > <input type="hidden" name="itemcount" value="<!-- TMPL_VAR name="issuesatonce" -->" /> > <input type="hidden" name="user" value="<!-- TMPL_VAR name="librarian" -->" /> >-- >1.5.6.5 >
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 4805
:
2156
| 2160