Bug 14299

Summary: Today's checkouts not always sorting correctly
Product: Koha Reporter: Kyle M Hall <kyle>
Component: CirculationAssignee: Kyle M Hall <kyle>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: chris, gmcharlt, jonathan.druart, kyle.m.hall, tomascohen, veron, wizzyrea
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 13908    
Bug Blocks:    
Attachments: Bug 14299 - Today's checkouts not always sorting correctly
Bug 14299 - Today's checkouts not always sorting correctly
[Signed-off] Bug 14299 - Today's checkouts not always sorting correctly
Bug 14299 - Today's checkouts not always sorting correctly

Description Kyle M Hall 2015-05-29 13:36:24 UTC
Sometimes the today's checkouts do not sort correctly. This is due to a simple type in the comparison line where the bad key 'timstamp' is compared against the correct key 'timestamp'.
Comment 1 Kyle M Hall 2015-05-29 13:37:57 UTC Comment hidden (obsolete)
Comment 2 Kyle M Hall 2015-05-29 13:38:52 UTC
There is a typo in my description ; )

I wrote 'type' instead of 'typo'.
Comment 3 Kyle M Hall 2015-05-29 13:39:16 UTC Comment hidden (obsolete)
Comment 4 Marc Véron 2015-06-01 13:33:55 UTC Comment hidden (obsolete)
Comment 5 Jonathan Druart 2015-06-03 17:04:29 UTC
Created attachment 39810 [details] [review]
Bug 14299 - Today's checkouts not always sorting correctly

Sometimes the today's checkouts do not sort correctly. This is due to a
simple typo in the comparison line where the bad key 'timstamp' is
compared against the correct key 'timestamp'.

Test Plan:
1) Check out a decent number of items in a row ( 5+ )
2) Hopefully you will see they are sorted incorrectly
3) Apply this patch
4) Reload the page
5) Note they are now sorted correctly

Followed test plan. Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Comment 6 Tomás Cohen Arazi 2015-06-05 16:02:42 UTC
Patch pushed to master.

Thanks Kyle!
Comment 7 Chris Cormack 2015-06-07 08:27:54 UTC
Pushed to 3.20.x will be in 3.20.1
Comment 8 Liz Rea 2015-06-22 22:41:11 UTC
Patch pushed to 3.18.x will be in 3.18.08