[Koha-bugs] [Bug 14621] Messaging preferences table needs to be sorted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 14 13:51:03 CEST 2015


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

--- Comment #1 from Lari Taskula <larit at student.uef.fi> ---
Created attachment 41494
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41494&action=edit
Bug 14621 - Messaging preferences table needs to be sorted

I have been working with messaging preferences and I noticed a weird issue in
Firefox on Ubuntu.

On messaging preferences page, the table is unsorted and the content in rows
are generated randomly
on every page refresh. When you select/deselect checkboxes and refresh the page
(without posting the changes),
Firefox will remember your choices. Now the issue is that when the table is
unsorted and the rows keep
changing on page refresh, Firefox has trouble remembering your choices. This
makes it appear as if the
checkboxes are magically changing values on each page refresh.

Here is a patch that prevents this problem by sorting the messaging settings.

Test plan:
1. Apply patch and have Perl version 5.18 or higher
2. In OPAC, navigate to "your messaging"
3. Observe the order of rows in the messaging settings table
4. Refresh the page
5. Observe that the order of rows is still the same as in step 3

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


More information about the Koha-bugs mailing list