@@ -, +, @@ --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -913,7 +913,8 @@ $(document).ready(function(){ return; } - if ( data.total > 0 ) { + // data.total can be either 42 or "60+" + if ( typeof(data.total) === 'string' && data.total.charAt(0) > 0 || typeof(data.total) === 'number' && data.total > 0 ) { $recordedbooks_results.html( _( "Found %s results in RecordedBooks collection" ).format('' + data.total + '') ); } else { $recordedbooks_results.remove(); --