Bugzilla – Attachment 4247 Details for
Bug 6395
cannot create routing list - template error?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-6395-Cannot-create-routing-list.patch (text/plain), 3.61 KB, created by
Owen Leonard
on 2011-05-24 19:18:48 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-05-24 19:18:48 UTC
Size:
3.61 KB
patch
obsolete
>From 2b6cefc8fbb9567dc655a42aa67f01fb2406c324 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 24 May 2011 15:15:18 -0400 >Subject: [PATCH] Fix for Bug 6395, Cannot create routing list >Content-Type: text/plain; charset="utf-8" > >Some old TMPL tags got left behind. >--- > .../prog/en/modules/serials/member-search.tt | 3 +-- > .../prog/en/modules/serials/routing.tt | 11 ++++------- > 2 files changed, 5 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt >index 64c23d6..91172be 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tt >@@ -64,8 +64,7 @@ function add_member(subscriptionid,borrowernumber){ > <td>[% resultsloo.cardnumber %] </td> > <td>[% resultsloo.surname %], [% resultsloo.firstname %] </td> > <td>[% resultsloo.branchcode %] </td> >- <td><a onclick="add_member(<!-- TMPL_VAR >- NAME="subscriptionid" -->,[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% resultsloo.subscriptionid %]&borrowernumber=[% resultsloo.borrowernumber %]&op=add">Add</a></td></tr> >+ <td><a onclick="add_member([% subscriptionid %],[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% resultsloo.subscriptionid %]&borrowernumber=[% resultsloo.borrowernumber %]&op=add">Add</a></td></tr> > [% END %] > </tbody> > </table> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >index 581ca97..85c42b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >@@ -55,17 +55,14 @@ function search_member(subscriptionid){ > [% FOREACH memberloo IN memberloop %] > <tr><td>[% memberloo.name %]</td> > <td>[% memberloo.routingbox %]</td> >- <td><a href="/cgi-bin/koha/serials/routing.pl?routingid=[% memberloo.routingid %]&subscriptionid=[% memberloo.subscriptionid %]&op=delete">Delete</a></td></tr> >+ <td><a href="/cgi-bin/koha/serials/routing.pl?routingid=[% memberloo.routingid %]&subscriptionid=[% subscriptionid %]&op=delete">Delete</a></td></tr> > [% END %] >- </table><p style="margin-left:10em;"><a onclick="search_member(<!-- TMPL_VAR >-NAME="subscriptionid" -->); return false" >-href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=<!-- TMPL_VAR >-NAME="subscriptionid" -->" class="button">Add recipients</a> <a >+ </table><p style="margin-left:10em;"><a onclick="search_member([% subscriptionid %]); return false" >+href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=[% subscriptionid %]" class="button">Add recipients</a> <a > href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]&op=delete" class="button">Delete All</a></p></li> > [% ELSE %] > <li><span class="label">Recipients:</span> >- <a onclick="search_member(<!-- TMPL_VAR NAME="subscriptionid" >--->); return false" href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=[% subscriptionid %]" class="button">Add recipients</a></li> >+ <a onclick="search_member([% subscriptionid %]); return false" href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=[% subscriptionid %]" class="button">Add recipients</a></li> > [% END %] > > <li><label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50">[% routingnotes %]</textarea></li> >-- >1.7.3 >
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 6395
:
4236
| 4247 |
4249