[Koha-bugs] [Bug 5819] New: No toolbar in record view when quotes present in title

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 1 23:20:47 CET 2011


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

             Bug #: 5819
           Summary: No toolbar in record view when quotes present in title
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Cataloging
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: januszop at gmail.com
         QAContact: koha-bugs at lists.koha-community.org
                CC: ian.walls at bywatersolutions.com


Created attachment 3235
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3235
A screenshot illustrating the problem

If there are double quotes in title (but also if there were any in lccn, isbn,
issn, author, dewey, subject) the nice toolbar with buttons (cattoolbar) in
normal view and MARC view (in staff client) will not appear.  Instead there is
a text list of options (cf. screenshot).

The reason is that the JavaScript function GetZ3950Terms called when
constructing the buttons fails, which is because of additional quotes in
strQuery.  The reason for this is that the C4::Search::z3950_search_args
function does not escape quotes.

A simple workaround will be submitted shortly.

Regards,

Janusz

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list