[Bug 3229] New: The "Sort By" feature for lists does not work
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Summary: The "Sort By" feature for lists does not work Product: Koha Version: rel_3_0 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Virtual Shelves AssignedTo: jmf@liblime.com ReportedBy: debra.denault@liblime.com Estimated Hours: 0.0 Change sponsored?: --- There is the ability to define how lists sort, by title or author, using the "Sort By" feature. It does not currently seem to work (i.e. sort by title or author). -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Kathleen Rippel <kdr@ckls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kdr@ckls.org -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 --- Comment #1 from Garry Collum <gcollum@gmail.com> 2009-06-24 01:41:49 --- Created an attachment (id=848) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=848) Proposed patch. Creates sortfield variables that can be passed so that the sort field can be determined and applied in the jquery tablesorter definition. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Garry Collum <gcollum@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcollum@gmail.com Status|NEW |ASSIGNED -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Garry Collum <gcollum@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Galen Charlton <galen.charlton@liblime.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |galen.charlton@liblime.com --- Comment #2 from Galen Charlton <galen.charlton@liblime.com> 2009-06-29 19:15:32 --- Patch pushed. Please test and close. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 --- Comment #3 from Debra Denault <debra.denault@liblime.com> 2009-07-22 17:55:34 --- Updated my internal database and tested. Does not seem to be working 100%. Created a list and added 4 items. Set list to sort by title. It does sort by title now in the OPAC view. Changed the list to sort by author. The list did not resort by author in the OPAC view. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 --- Comment #4 from Garry Collum <gcollum@gmail.com> 2009-08-06 13:37:44 --- I played with this last night. The title sorting using the jquery tablesorter works perfectly in IE, well IE 8, but it does not work in Firefox, Opera, Chrome, or Epiphany. The problem seems to be the HTML anchors. The javascript in IE seems to pull out the anchor text, the actually title, for the 'articles' function that is used for sorting, the other browsers do not. The other browsers are sorting the entire anchor tag, URL + Text. There are a couple of solutions. 1. Use javascript to pull out the anchor text. - I didn't get this to work. I tried a couple of different methods (.text and .innerHTML) but whenever I pulled out the text the sorting did not function within the table at all. 2. Add a name tag that includes the title to the anchors before the href tag. This works, except the articles are not removed from the title and spaces with the name defined by a name tag are not valid XHTML. Would adding another variable that includes a title with no leading article and no spaces overkill for this problem? -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Jane Wagner <jwagner@ptfs.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwagner@ptfs.com -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Tika <jjeter@ptfs.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jjeter@ptfs.com --- Comment #5 from Tika <jjeter@ptfs.com> 2009-10-13 17:15:38 --- The Title Sort in the OPAC is not following the filing indicators properly. This appears to be an issue with the browser display and a bug problem. If you create a List it Sorts properly in FireFox but does not Sort properly in Internet Explorer! -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nengard@gmail.com --- Comment #6 from Nicole C. Engard <nengard@gmail.com> 2009-12-17 01:49:24 --- This still appears to be a problem -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oleonard@myacpl.org AssignedTo|jmf@liblime.com |oleonard@myacpl.org Status|ASSIGNED |NEW Platform|PC |All Version|rel_3_0 |HEAD -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 --- Comment #7 from Owen Leonard <oleonard@myacpl.org> 2009-12-21 14:22:24 --- Created an attachment (id=1403) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1403) Proposed fix This patch works with the previous one to correct the problem. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #8 from Owen Leonard <oleonard@myacpl.org> 2009-12-21 14:24:07 --- More details about the patch: The javascript-based table sorter is often stymied by white space in table cells. If sorting doesn't work correctly it's often a good thing to check. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Priority|PATCH-Sent |P5 Resolution|FIXED | --- Comment #9 from Owen Leonard <oleonard@myacpl.org> 2010-02-17 20:40:46 --- This bug is only fixed under one condition: when there is only one page of list contents and the JavaScript tablesorter is working (i.e. JavaScript is enabled). If JS is turned off the list will be unsorted. If there are multiple pages of results each page of results will be sorted by the JavaScript tablesorter independently of each other. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3229 --- Comment #10 from Owen Leonard <oleonard@myacpl.org> 2010-02-17 20:52:27 --- In C4/VirtualShelves.pm, GetShelfContents appears to accept "sortfield" as a parameter and tries to find the right sortfield even when it isn't passed. I'm not sure why it isn't using that value to sort the query. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (2)
-
bugzilla-daemon@kohaorg.ec2.liblime.com -
bugzilla-daemon@liblime.com