f71f1ba6e2
While testing bug 10937, there were noisy warnings, which distracted from testing the functionality of it. Here is a snippet of the after the patch warnings: Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 384. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 161. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 161. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 177. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 177. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 202. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 202. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 240. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 240. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 256. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 256. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 356. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 356. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 369. Argument "" isn't numeric in numeric gt (>) at /home/mtompset/kohaclone/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt line 369. Tweaking the [% IF %] statements eliminated the warnings. TEST PLAN --------- 1) Apply patch 2) Run koha qa test tools. -- there will be noisy warnings in the before processing, but there will be no such messages in the after processing. 3) git diff origin/master -- there should be no visible typos. Signed-off-by: Magnus Enger <magnus@enger.priv.no> - Applied the patch from bug 10937 - Ran "koha-qa.pl -c 1" and observed the warnings described in the commit message - Applied the patch from this bug - Ran "koha-qa.pl -c 1" again and saw no warnings - Ran "koha-qa.pl -c 2" and saw no warnings I have not tested the functionality of 10937 with this patch, just verified that the changes look sensible. This patch feels more like a followup for 10937, than a separate patch, especially since 10937 is just "signed off" at this time. But as long as it works... Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> |
||
---|---|---|
.. | ||
errors | ||
sco | ||
svc | ||
text | ||
ilsdi.tt | ||
maintenance.tt | ||
opac-account.tt | ||
opac-addbybiblionumber.tt | ||
opac-advsearch.tt | ||
opac-alert-subscribe.tt | ||
opac-auth-detail.tt | ||
opac-auth-MARCdetail.tt | ||
opac-auth.tt | ||
opac-authorities-home.tt | ||
opac-authoritiessearchresultlist.tt | ||
opac-basket.tt | ||
opac-blocked.tt | ||
opac-browser.tt | ||
opac-course-details.tt | ||
opac-course-reserves.tt | ||
opac-detail.tt | ||
opac-downloadcart.tt | ||
opac-downloadshelf.tt | ||
opac-full-serial-issues.tt | ||
opac-imageviewer.tt | ||
opac-ISBDdetail.tt | ||
opac-main.tt | ||
opac-MARCdetail.tt | ||
opac-memberentry-update-submitted.tt | ||
opac-memberentry.tt | ||
opac-messaging.tt | ||
opac-mymessages.tt | ||
opac-opensearch.tt | ||
opac-overdrive-search.tt | ||
opac-passwd.tt | ||
opac-privacy.tt | ||
opac-readingrecord.tt | ||
opac-registration-confirmation.tt | ||
opac-registration-email-sent.tt | ||
opac-registration-invalid.tt | ||
opac-reserve.tt | ||
opac-results-grouped.tt | ||
opac-results.tt | ||
opac-review.tt | ||
opac-search-history.tt | ||
opac-sendbasket.tt | ||
opac-sendbasketform.tt | ||
opac-sendshelf.tt | ||
opac-sendshelfform.tt | ||
opac-serial-issues.tt | ||
opac-shareshelf.tt | ||
opac-shelves.tt | ||
opac-showmarc.tt | ||
opac-showreviews-rss.tt | ||
opac-showreviews.tt | ||
opac-suggestions.tt | ||
opac-tags.tt | ||
opac-tags_subject.tt | ||
opac-topissues.tt | ||
opac-user.tt |