Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Fridolin Somers f27d454048 Bug 13268 - biblioitems.size value not correctly displayed (more)
Bug partially corrected by Bug 11357.

The size column in biblioitems is a bit problematic when used in TT, because instead of the size value from the biblio column it will give you the size of the variable or current loop.

It's currently used in the templates like opac-topissues.tt :
[% IF results_loo.size %][% results_loo.size %][% END %]

This patch corrects by using item() TT method.
See http://stackoverflow.com/questions/2311303/how-can-i-handle-hash-keys-containing-illegal-identifier-characters-in-template.

Test plan :
- Be sure there is a mapping between a MARC field and biblioitems.size
- Create a record A with biblioitems.size defined : like "10x12"
- Create a record B with no value in biblioitems.size
- Check each modified page :
=> Without this patch : you see a number (loop size) for both records
=> With this patch : you only see the correct value for A and nothing for B

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-02-05 14:46:35 -03:00
..
acqui Bug 13320: Fix "Tax inc." vs "Tax exc." 2015-02-04 15:16:15 -03:00
admin Bug 13587: Fix Authorised Values Toolbar 2015-01-21 10:56:43 -03:00
authorities Bug 11961 - Add a "Z39.50 search" button to the authority creation and modification pages. 2015-01-24 18:19:06 -03:00
basket Bug 13037 - Staff client cart should exclude articles when sorting by title 2014-11-21 15:17:21 -03:00
batch Bug 9210: wrap long lines in printed hold notices 2014-01-15 15:51:44 +00:00
catalogue Bug 13564: Items search: rename Stock number to Inventory number 2015-01-14 21:29:21 -03:00
cataloguing Bug 13268 - biblioitems.size value not correctly displayed (more) 2015-02-05 14:46:35 -03:00
circ Bug 13268 - biblioitems.size value not correctly displayed (more) 2015-02-05 14:46:35 -03:00
course_reserves Bug 12635 - Course reserves item list should use "Checked out" instead of "On Loan" 2014-08-07 11:03:56 -03:00
errors
help Bug 13040 [QA Followup] - Fix koha-qa.pl issues 2015-01-26 16:22:12 -03:00
installer Bug 13496: make auth.tt use a template plugin to get the Koha version 2015-01-04 11:24:22 -03:00
labels Bug 13162 - Label batch editor title sorting by default, rather then label number 2014-11-21 19:51:38 -03:00
members Bug 12637: UTF-8 problems when creating a patron list 2015-01-21 11:59:35 -03:00
offline_circ Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
patron_lists Bug 13459: Fix datatables paging for patron lists 2015-01-07 20:08:23 -03:00
patroncards Bug 5502 - Patron card category search field should be menu 2014-08-10 09:30:47 -03:00
plugins
reports Bug 13288: Fix filtering on the saved reports table 2014-11-20 09:54:28 -03:00
reserve Bug 12943 - Add patron branchcode to patron search results for holds 2014-11-21 16:00:13 -03:00
reviews
rotating_collections Bug 8836 [QA Followup] - Prevent multiple collections from having the same title 2014-11-06 15:12:20 -03:00
serials Bug 11944: Fix encoding issue on adding a subscription 2015-01-13 13:07:18 -03:00
services Bug 12673: Remove CGI::scrolling_list from C4::Items.pm 2014-08-03 17:21:08 -03:00
sms
suggestion Bug 13378: Add a filter to search suggestions not linked to a fund 2015-01-10 16:13:08 -03:00
tags Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
test
tools Bug 13040 - multiple branch selections in exporter 2015-01-26 16:22:07 -03:00
virtualshelves Bug 12405 - Search links on callnumber fails on intranet results page 2014-09-18 09:43:16 -03:00
about.tt Bug 7143: Adding back version numbers 2015-01-21 11:55:59 -03:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00