[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-961-gdee3354
Git repo owner
gitmaster at git.koha-community.org
Mon Aug 19 16:45:34 CEST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via dee3354bd63d32e6a320bf2b7d8491ffc41ec40c (commit)
via 7630e0b5ae5d76fb8f57e0f59a702047dee79137 (commit)
via 7a967161dcf181008bbc175aabd021ca9c495522 (commit)
via 1b6452bc5422c998e0127822c5b3c47ff77355d1 (commit)
via ba470954fd4b4bb0cd50f47769ecd2f957dcc3f1 (commit)
from 7d0aea7c39e22f42760c3ecbba4c0cd0818785a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dee3354bd63d32e6a320bf2b7d8491ffc41ec40c
Author: Galen Charlton <gmc at esilibrary.com>
Date: Mon Aug 19 14:55:12 2013 +0000
bug 9916: (follow-up) restore default sort order on OPAC tags list
(As a side-note, I actually prefer descending date as the default
sort order, but better to do that explicitly rather than have the
patch series for bug 9916 change visible default sorts.)
To test:
[1] Log into the OPAC, then go to the list of OPAC tags.
[2] Verify that the default sort order is ascending date
added.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 7630e0b5ae5d76fb8f57e0f59a702047dee79137
Author: Galen Charlton <gmc at esilibrary.com>
Date: Mon Aug 19 14:52:06 2013 +0000
bug 9916: (follow-up) restore default sort order for self-check loan list
To test:
[1] Log into web-based selfcheck.
[2] Enter the barcode of a patron that has at least two loans.
[3] Verify that the loan list sorts them in order of descending
due date by default, with a secondary sort order of ascending
title.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 7a967161dcf181008bbc175aabd021ca9c495522
Author: Galen Charlton <gmc at esilibrary.com>
Date: Mon Aug 19 14:44:08 2013 +0000
bug 9916: (follow-up) restore default sort order for OPAC search history
To test:
[1] Go to the search history page on the OPAC.
[2] Verify that the searches are sorted in order of decreasing time.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 1b6452bc5422c998e0127822c5b3c47ff77355d1
Author: Galen Charlton <gmc at esilibrary.com>
Date: Mon Aug 19 14:39:24 2013 +0000
Bug 9916: (follow-up) restore default sort order for OPAC "most popular" page
Set the primary default sort order to descending number of checkouts,
matching the situation prior to the introduction of DataTables. This
patch also sets the default secondary sort to ascending title.
To test:
[1] Ensure that OpacTopissue is ON.
[2] Go to the OPAC "most popular" page.
[3] Verify that the items are sorted in order of descending
checkout count. If two items have the same number of
checkouts, verify that they are sorted in ascending
title order.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit ba470954fd4b4bb0cd50f47769ecd2f957dcc3f1
Author: Owen Leonard <oleonard at myacpl.org>
Date: Fri Mar 22 16:11:09 2013 -0400
Bug 9916 - Use DataTables in the OPAC
The OPAC still uses the old tablesorter plugin which isn't being
actively maintained. We use DataTables in the staff client and should in
the OPAC too. The plugin was added a while ago but never implemented on
any pages. This patch upgrades the plugin to the latest version and
places it in opac-tmpl/lib for cross-theme access. The patch implements
DataTables on all pages which previously used the tablesorter plugin.
The old tablesorter plugin is removed.
The customized DataTable configuration script, datatables.js, has been
trimmed-down from the staff client version in order to limit it to only
that functionality required in the OPAC.
Sorting based on date is done based on the data's enclosing <span> title
attribute as it is in the staff client:
<span title=" [% iso date %]">[% date | $KohaDates %]</span>
Slight modifications to Serials.pm and opac-search-history.pl have been
made to accommodate this change.
To test, view each page in the OPAC which uses JS-based table sorting:
- The bibliographic detail page
- The cart
- The search history page
- The suggestions page
- The tags page (logged in as a user who has entered tags)
- The "most popular" page (opac-topissues.pl)
- The logged in user summary page (opac-user.pl)
- The subscription "full history" page (opac-serial-issues.pl?selectview=full)
- The self-checkout main page (with existing checkouts)
Table sorting should work correctly on all pages in both the prog and
ccsr themes. Sorting should work for dates whatever your dateformat
system preference setting. Tables listing titles should exclude articles
("a," "an," and "the" in English) when sorting.
Also test the serial collection page in the staff client, which is
affected by the change to Serials.pm. Confirm that dates are displayed
and sorted correctly.
Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Passes koha-qa.pl, works as advertised!
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Works really nicely on all pages.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Serials.pm | 3 -
.../prog/en/modules/serials/serials-collection.tt | 10 +-
koha-tmpl/opac-tmpl/ccsr/en/css/opac.css | 19 +
koha-tmpl/opac-tmpl/ccsr/en/css/sco.css | 33 +-
koha-tmpl/opac-tmpl/ccsr/en/js/datatables.js | 406 +++-----------------
.../lib/jquery/plugins/jquery.tablesorter.min.js | 2 -
.../lib/jquery/plugins/jquery.dataTables.min.js | 155 ++++++++
koha-tmpl/opac-tmpl/prog/en/css/opac.css | 19 +
koha-tmpl/opac-tmpl/prog/en/css/sco.css | 33 +-
.../{datatables-strings.inc => datatables.inc} | 3 +
koha-tmpl/opac-tmpl/prog/en/js/datatables.js | 406 +++-----------------
.../en/lib/jquery/plugins/jquery.dataTables.min.js | 153 --------
.../lib/jquery/plugins/jquery.tablesorter.min.js | 2 -
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt | 37 +-
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 31 ++-
.../prog/en/modules/opac-full-serial-issues.tt | 36 ++-
.../prog/en/modules/opac-search-history.tt | 22 +-
.../opac-tmpl/prog/en/modules/opac-shelves.tt | 1 -
.../opac-tmpl/prog/en/modules/opac-suggestions.tt | 41 +--
koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt | 24 +-
.../opac-tmpl/prog/en/modules/opac-topissues.tt | 28 +-
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 74 ++--
.../opac-tmpl/prog/en/modules/sco/sco-main.tt | 41 +--
opac/opac-search-history.pl | 4 +-
24 files changed, 545 insertions(+), 1038 deletions(-)
delete mode 100644 koha-tmpl/opac-tmpl/ccsr/en/lib/jquery/plugins/jquery.tablesorter.min.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery/plugins/jquery.dataTables.min.js
rename koha-tmpl/opac-tmpl/prog/en/includes/{datatables-strings.inc => datatables.inc} (74%)
delete mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js
delete mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.tablesorter.min.js
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list