[Koha-bugs] [Bug 6817] New: In overdue.pl, downloading the overdues as a file ignores the filters if the page isn't in english.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 30 16:46:57 CEST 2011


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

             Bug #: 6817
           Summary: In overdue.pl, downloading the overdues as a file
                    ignores the filters if the page isn't in english.
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Circulation
        AssignedTo: kyle.m.hall at gmail.com
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org
                CC: gmcharlt at gmail.com


Created attachment 5220
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5220
Adds a hidden input to keep the op value in overdue.pl

When the intranet is translated in another language than english, the filters
are ignored when downloading the overdues as a file in overdue.pl

To reproduce :
* Set Koha to a language other than english
* Go in circ/overdues.pl
* Select some filters that affect the number of overdues that will be shown on
the page.
* Click the link to download the overdues file.
* Not that the number of overdues in the file isn't the same as the number of
overdues on the page. The file always contains all overdues, so filters are
ignored.

Cause : The "value" of the button is used by overdue.pl to know if a filter is
used, but this value is changed when the page is translated.

Fix : A hidden input was added next to the button so the value of "op" doesn't
get translated.

-- 
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