LP# 1086934 - TPAC: Complete column sorting in some screens
authorDan Pearl <dpearl@cwmars.org>
Wed, 14 Nov 2012 17:14:11 +0000 (12:14 -0500)
committerDan Pearl <dpearl@cwmars.org>
Thu, 24 Sep 2015 16:45:04 +0000 (12:45 -0400)
(specifically holds, circs, and circs_history)

An earlier LP issue #1010277 concerned the halfway implementation of
the column sort facility, and was addressed at the time by ripping out any hint of
column sort capability, among other cleanup issues.

The sorting capability has now been implemented with the following functionality:
  * Clicking on the appropriate column heads now sorts the contents from
    "ascending" to "descending" to "no sort".  (The "no sort" will restore the
    original list as presented to the patron.)

  * The sort indicator (an up or down arrow) is placed to the right
    of the column head, as appropriate.

  * The combined "Title/Author" column in the circ screens is now separated into two
    independently sortable columns (Title and Author).

  * Title sorting is done with the 'filing' characters (leading "the", "a",
    "an", and other langugage equivalents) removed. To clarify the
    behavior for the patron, the leading articles are rendered in
    a smaller font, so as to keep the main entry prominent.  In
    addition to the filing characters removed for the sort, leading
    non-alphanumeric characters are ignored in the sort.

This commit only affects those screens and columns that suggested column sorting
capability.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Conflicts:
Open-ILS/src/templates/opac/parts/topnav.tt2

Conflicts:
Open-ILS/src/templates/opac/css/style.css.tt2

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
docs/RELEASE_NOTES_NEXT/OPAC/column_sort.txt [new file with mode: 0644]

diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/column_sort.txt b/docs/RELEASE_NOTES_NEXT/OPAC/column_sort.txt
new file mode 100644 (file)
index 0000000..52fe317
--- /dev/null
@@ -0,0 +1,21 @@
+Column sorting in circulation screens
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Sorting of selected columns is now available in the *Items Checked Out*, *Check Out History*,
+and *Holds* screen.
+
+* Clicking on the appropriate column heads now sorts the contents from
+``ascending'' to ``descending'' to ``no sort''.  (The ``no sort'' restores the
+original list as presented in the screen.)
+
+* The sort indicator (an up or down arrow) is placed to the right
+of the column head, as appropriate.
+
+* The combined *Title/Author* column in the *Items Checked Out* screen is now separated into two
+independently sortable columns (Title and Author).
+
+* Title sorting is done with the so-called `filing' characters (leading ``the'', ``a'',
+``an'', and other langugage equivalents) removed. The leading articles are rendered in
+a smaller font, so as to keep the main entry prominent.  In
+addition to the filing characters removed for the sort, leading
+non-alphanumeric characters are ignored in the sort.