Main Koha release repository https://koha-community.org
Find a file
Fridolin Somers 6b2d109315
Bug 23427: Fix previous checkouts sort order
In patron circulation or details page, previous checkouts are displayed sorted by due date.
Actual sort order is not honoring system preference "previousIssuesDefaultSortOrder". Todays's checkouts is correct thanks to Bug 13908.

Patch adds comments that refer to the text of system preferences "previousIssuesDefaultSortOrder" and "TodayIssuesDefaultSortOrder" :
  latest to earliest = asc
  earliest to latest = desc

Test plan :
1) Create for a patron two old issues with a few days between them
2) Set preference previousIssuesDefaultSortOrder = "latest to earliest"
3) Go to patron circulation page and check sort order is OK
4) Go to patron details page and check sort order is OK
5) Set preference previousIssuesDefaultSortOrder = "earliest to latest"
6) Go to patron circulation page and check sort order is OK
7) Go to patron details page and check sort order is OK

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-11-07 13:23:10 +00:00
acqui Bug 11514: Untranslatable "Uncertain" text in acq 2019-11-06 16:54:42 +00:00
admin Bug 23075: Do not 'Send' if the url is not correct 2019-11-06 17:05:18 +00:00
api/v1 Bug 23859: Make POST add the Location header on cities endpoint 2019-11-01 08:48:18 +00:00
authorities
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
C4 Bug 23293: Apply OPACFineNoRenewalsIncludeCredit preference 2019-11-07 13:13:24 +00:00
catalogue Bug 23050: (RM follow-up) Add Try::Tiny to controller 2019-11-05 13:53:06 +00:00
cataloguing Bug 15497: Limit itemtypes by branch in additem.pl 2019-09-12 16:31:06 +01:00
circ Bug 20194: Display both biblioitems.itemtype and items.itype in circulation screens 2019-11-03 07:50:19 +00:00
clubs
course_reserves
debian Bug 17084: Automatic debian/control updates 2019-11-01 06:19:24 +00:00
docs Update docs/teams.yaml for 19.11.x development cycle 2019-10-22 15:15:33 +01:00
errors
etc Bug 23068: Add ability for Koha to handle X-Forwarded-For headers so REMOTE_ADDR features work behind a proxy 2019-10-31 16:10:17 +00:00
ill
installer Bug 23293: DBRev 19.06.00.050 2019-11-07 13:20:40 +00:00
Koha Bug 23719: (follow-up) Add warn when passed invalid search field in marclist 2019-11-06 17:06:38 +00:00
koha-tmpl Bug 23293: Add system preference 2019-11-07 13:13:17 +00:00
labels Bug 21206: Replace C4::Items::GetItem 2019-02-26 13:24:07 +00:00
members Bug 21939: Fix permissions for holds history tab 2019-11-07 13:22:03 +00:00
misc Bug 23903: Replace OPAC icons with Font Awesome 2019-10-31 15:40:25 +00:00
offline_circ
opac Bug 23293: Apply OPACFineNoRenewalsIncludeCredit preference 2019-11-07 13:13:24 +00:00
OpenILS
patron_lists
patroncards
plugins Bug 21073: (QA follow-up) Avoid unnecessary unless/else construct 2019-06-18 17:30:44 +01:00
reports Bug 23805: (QA follow-up) Corrections for cash_register_stats 2019-10-31 17:49:54 +00:00
reserve Bug 22922: Use jQuery datepicker instead of <input type="date"> 2019-10-21 10:01:01 +01:00
reviews
rotating_collections
serials Bug 23435: Add multiple copies of an item when receiving in serials 2019-10-17 14:59:40 +01:00
services
skel
suggestion Bug 18743: Fix suggestion listing when organized by library 2019-10-25 13:16:29 +01:00
svc Bug 23427: Fix previous checkouts sort order 2019-11-07 13:23:10 +00:00
t Bug 23293: (QA follow-up) Minor fix for tests 2019-11-07 13:18:23 +00:00
tags Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
tmp/modified_authorities
tools Bug 23762: Editing is_html status of email template fails under multi-languages 2019-11-03 07:34:52 +00:00
virtualshelves Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
xt
.editorconfig
.eslintrc.json Bug 23834: Add default ESLint configuration 2019-11-03 08:02:39 +00:00
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 23655: Restore debian Jessie support 2019-10-26 12:07:49 +01:00
changelanguage.pl Bug 21299: (QA follow-up) Rename module and subroutine 2018-11-07 21:52:17 +00:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 23293: DBRev 19.06.00.050 2019-11-07 13:20:40 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 23834: (RM follow-up) Add new file to Makefile.PL 2019-11-04 10:10:04 +00:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL Bug 17851: Add elasticsearch config to koha-conf.xml 2019-10-07 14:09:10 +01:00
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo