[rt-users] Hardcoded Bookmarked Ticked Rows to 999 by Ruz

pavel.sidlo at linuxbox.cz pavel.sidlo at linuxbox.cz
Wed May 8 12:56:25 EDT 2013



One user complained about broken "Rows per page" in "Bookmarken Tickets".
After some searching I found this commit in html/Elements/ShowSearch:
https://github.com/bestpractical/rt/commit/00257eac62dd4955934d7350e5a3395e57e0069c#html/Elements/ShowSearch

It contains hardcoded limit for Bookmarked tickets:
    if ( $_->{'Query'} =~ /__Bookmarked__/ ) {
        $_->{'Rows'} = 999;
    }
    elsif ( $_->{'Query'} =~ /__Bookmarks__/ ) {
        $_->{'Rows'} = 999;

Is it necessary for some functionality? Is it safe to remove this condition
in local copy of ShowSearch file?

Thanks in advance.

Best regards,

Pavel



Pavel Šidlo

-------------------------------------
LinuxBox.cz, s.r.o.
28. října 168, 709 00 Ostrava

tel.:   +420 591 166 234
mob.:   +420 737 238 334
web:    www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis at linuxbox.cz
-------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130508/15330f59/attachment.htm>


More information about the rt-users mailing list