[Koha-patches] [PATCH] Bug 6174: Fix ordering of existing title
Colin Campbell
colin.campbell at ptfs-europe.com
Tue Apr 12 17:25:51 CEST 2011
basketno was treated as local to the resultsloop
also changed the tt variable name for readability
---
.../prog/en/modules/acqui/neworderbiblio.tt | 24 ++++++++++----------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt
index 9d24e63..44b7b3c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt
@@ -45,29 +45,29 @@
<th>Copyright</th>
<th colspan="2"> </th>
</tr>
- [% FOREACH resultsloo IN resultsloop %]
+ [% FOREACH biblio IN resultsloop %]
<tr>
<td>
- <p><span class="title">[% resultsloo.title |html %]</span>
- [% IF ( resultsloo.author ) %] by <span class="author">[% resultsloo.author %]</span>,[% END %]</p>
- <p>[% IF ( resultsloo.isbn ) %] [% resultsloo.isbn %][% END %]
- [% IF ( resultsloo.pages ) %] - [% resultsloo.pages %][% END %]
- [% IF ( resultsloo.notes ) %] : [% resultsloo.notes %][% END %]
- [% IF ( resultsloo.size ) %] ; [% resultsloo.size %][% END %]
+ <p><span class="title">[% biblio.title |html %]</span>
+ [% IF ( biblio.author ) %] by <span class="author">[% biblio.author %]</span>,[% END %]</p>
+ <p>[% IF ( biblio.isbn ) %] [% biblio.isbn %][% END %]
+ [% IF ( biblio.pages ) %] - [% biblio.pages %][% END %]
+ [% IF ( biblio.notes ) %] : [% biblio.notes %][% END %]
+ [% IF ( biblio.size ) %] ; [% biblio.size %][% END %]
</p>
</td>
<td>
- [% resultsloo.publishercode %]
- [% IF ( resultsloo.place ) %] ; [% resultsloo.place %][% END %]
+ [% biblio.publishercode %]
+ [% IF ( biblio.place ) %] ; [% biblio.place %][% END %]
</td>
<td>
- [% resultsloo.copyrightdate %]
+ [% biblio.copyrightdate %]
</td>
<td>
- <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">View MARC</a>
+ <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblio.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">View MARC</a>
</td>
<td>
- <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% resultsloo.booksellerid %]&basketno=[% resultsloo.basketno %]&biblionumber=[% resultsloo.biblionumber %]" title="Order this one">
+ <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% biblio.booksellerid %]&basketno=[% basketno %]&biblionumber=[% biblio.biblionumber %]" title="Order this one">
Order
</a>
</td>
--
1.7.4.2
More information about the Koha-patches
mailing list