]> git.koha-community.org Git - koha.git/commit
Bug 21497: Correctly format dates for ILL requests in OPAC
authorOwen Leonard <oleonard@myacpl.org>
Fri, 5 Oct 2018 12:50:26 +0000 (12:50 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 19 Oct 2018 16:40:24 +0000 (16:40 +0000)
commita2418f743ce1e14d32229b5dd8d05aeb13f9e664
tree320030cc02a3f62b8841fdb3dec8f451148a0c0e
parentca9a1b76d8d729b1c09dbedbd90bd3f748351c4b
Bug 21497: Correctly format dates for ILL requests in OPAC

This patch updates the opac ILL template to use the $KohaDates plugin
for displaying dates. Also updated:

- Added "title-string" sorting to allow for correct sorting of dates in
  the table of requests.
- Corrected capitalization as per our capitalization rules.
- Added self-closing / to inputs as per coding guidelines.

To test, apply the patch and log in to the OPAC as a user who has
multiple outstanding ILL requests.

 - In the table of ILL requests, the "Request placed" and "Last updated"
   dates should be formatted according to your system's dateformat
   preference.
 - Sorting of those columns should work correctly.
 - View a request and confirm that "Request placed" and "Last updated"
   dates in this view are also formatted correctly.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt