[Koha-bugs] [Bug 16115] New: JavaScript error on item search form

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 21 19:28:02 CET 2016


            Bug ID: 16115
           Summary: JavaScript error on item search form
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
               URL: /cgi-bin/koha/catalogue/itemsearch.pl
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching
          Assignee: gmcharlt at gmail.com
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org

In the template for the item search page there is this at line 290:

  { 'type': 'select', 'values': [% notforloans.json %] },

[% notforloans.json %] appears to be undefined, whether the search form has
been submitted or not. Viewing source shows this:

  { 'type': 'select', 'values':  },

...and the Firebug console reports this error:

SyntaxError: expected expression, got '}'


Line 240

You are receiving this mail because:
You are watching all bug changes.

More information about the Koha-bugs mailing list