Bugzilla – Attachment 14779 Details for
Bug 9456
Add callnumber column to the cart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9456 - Add callnumber column to the cart
Bug-9456---Add-callnumber-column-to-the-cart.patch (text/plain), 4.84 KB, created by
Kyle M Hall (khall)
on 2013-01-23 12:54:19 UTC
(
hide
)
Description:
Bug 9456 - Add callnumber column to the cart
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-01-23 12:54:19 UTC
Size:
4.84 KB
patch
obsolete
>From 02ceafc70e5d39805dbda83edfe512ca35cca33f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 23 Jan 2013 07:53:21 -0500 >Subject: [PATCH] Bug 9456 - Add callnumber column to the cart > >Test Plan: >1) Apply patch >2) Add items to the cart >3) View the cart, note the new column for callnumbers >--- > .../intranet-tmpl/prog/en/modules/basket/basket.tt | 54 +++++++++++++------ > 1 files changed, 37 insertions(+), 17 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >index 9989194..4b38b5f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >@@ -319,9 +319,10 @@ function yuiToolbar() { > <table id="itemst"> > <thead><tr> > [% UNLESS ( print_basket ) %]<th> </th>[% END %] >- <th>Title</th> >- <th>Item type</th> >- <th>Location</th> >+ <th>Title</th> >+ <th>Item type</th> >+ <th>Callnumber</th> >+ <th>Location</th> > </tr></thead> > > [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >@@ -330,10 +331,13 @@ function yuiToolbar() { > [% ELSE %] > <tr> > [% END %] >- [% UNLESS ( print_basket ) %]<td> >- <input type="checkbox" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked);" /> > >- </td> [% END %] >+ [% UNLESS ( print_basket ) %] >+ <td> >+ <input type="checkbox" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked);" /> >+ </td> >+ [% END %] >+ > <td><a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])"> > [% BIBLIO_RESULT.title |html %] > </a> >@@ -346,19 +350,35 @@ function yuiToolbar() { > [% IF ( BIBLIO_RESULT.notes ) %] > <p>[% BIBLIO_RESULT.notes %]</p> > [% END %] >- <!-- COinS / Openurl --> >- <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.size %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> > >- </td> >+ <!-- COinS / Openurl --> >+ <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.size %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> >+ </td> >+ > <td>[% BIBLIO_RESULT.description %]</td> >- <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >- <p> >- [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %] >- [% IF ( ITEM_RESULT.itemcallnumber ) %] >- ([% ITEM_RESULT.itemcallnumber %]) >- [% END %] >- </p> >- [% END %][% ELSE %]This record has no items.[% END %]</td> >+ >+ <td> >+ [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] >+ [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >+ <p> >+ [% IF ( ITEM_RESULT.itemcallnumber ) %] >+ [% ITEM_RESULT.itemcallnumber %] >+ [% END %] >+ </p> >+ [% END %] >+ [% END %] >+ </td> >+ >+ <td> >+ [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] >+ [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >+ <p> >+ [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %] >+ </p> >+ [% END %] >+ [% END %] >+ </td> >+ > </tr> > [% END %] > </table></form> >-- >1.7.2.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 9456
:
14779
|
14780
|
14782
|
14783
|
14861
|
14903
|
14904
|
15542
|
15544
|
15727
|
15728
|
15759
|
15760
|
15813
|
15844
|
15845
|
15846
|
15847
|
15848
|
15937
|
15938
|
15941
|
15943
|
15944
|
15949
|
15950
|
16630
|
16631
|
16734
|
17994
|
17995
|
17996
|
17997
|
19123
|
19124
|
19125
|
19126
|
19146
|
19844
|
19845
|
19846
|
19847
|
19848
|
19849
|
20341
|
20385
|
20386
|
20387
|
20388
|
20389
|
20390