[Koha-bugs] [Bug 12451] New: circulation rule cant be edited if itemtype contains a space character

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 19 10:17:01 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12451

            Bug ID: 12451
           Summary: circulation rule cant be edited if itemtype contains a
                    space character
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolyn.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

When an itemtype description contains a space character like " Book" (often
used to set this itemtype as first in sorted lists), the edition of an existing
circulation rule does not work, it selects the default itemtype.
Same for patron category.

It's because the JavaScript code performs a trim on value existing in table 
itm = itm.replace(/^\s*|\s*$/g,'');
The same trim must be performed on combobox in editing line.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list