Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
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
..
bookcount.tt
branchoverdues.tt
branchtransfers.tt
circulation-home.tt
circulation.tt Bug 13408: Tell librarians they may continue scanning while checkouts table is loading 2015-01-14 12:40:18 -03:00
offline-mf.tt
offline.tt
overdue.tt Bug 10051: Separate first name and surname with comma in overdues report 2014-12-17 19:46:37 -03:00
pendingreserves.tt
printslip.tt
renew.tt Bug 11944: (follow-up) Remove all utf8 filter from templates 2015-01-13 13:07:35 -03:00
reserveratios.tt Bug 11990 - Holds ratio report (circ/reserveratios.pl) sorts numeric values as text 2014-10-28 09:46:38 -03:00
returns.tt Bug 12959 - Check in forgets to remember arbitrary backdating of returns setting 2014-11-25 15:42:21 -03:00
selectbranchprinter.tt Bug 12744 - Set language in staff client should have 'Cancel' link 2014-08-24 13:23:41 -03:00
stats.tt
transfer-slip.tt
transferstoreceive.tt
view_holdsqueue.tt Bug 13268 - biblioitems.size value not correctly displayed (more) 2015-02-05 14:46:35 -03:00
waitingreserves.tt Bug 12692 - Markup improvements to holds awaiting pickup report 2014-11-10 12:22:13 -03:00