Koha/koha-tmpl/opac-tmpl/bootstrap/en
Marc Véron 285795d769 Bug 12974 - Argument "" isn't numeric in numeric gt (>) in opac-results.tt
If an item has no star ratings you get an error message in opac-error.log:
Argument "" isn't numeric in numeric gt (>) at (...) /koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt line 467.

To test:
In OPAC, search for a bilio that has no star ratings.
Check opac-error.log for message as above
Apply patch
Repeat search
Check opac-error.log again, there should be no more warnings

(Fixed mistake with brackets, see comment #2)

Signed-off-by: Magnus Enger <digitalutvikling@gmail.com>
Works as advertized. Looks like you have to be logged in to trigger
the error.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Works as advertised, passses xt/author/valid-templates.t
2014-10-14 11:05:06 -03:00
..
includes Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
modules Bug 12974 - Argument "" isn't numeric in numeric gt (>) in opac-results.tt 2014-10-14 11:05:06 -03:00
xslt Bug 12574 - BiblioDefaultView doesn't affect XSLT results view 2014-09-14 02:02:50 -03:00