]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix date sorting in patron-related XUL interfaces
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 2 May 2012 18:01:00 +0000 (14:01 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 2 May 2012 22:30:55 +0000 (18:30 -0400)
commit70cd1772c19fb5f334ecd0cae5aadf6c224a4a07
tree343c5e0af24480d76ceb52d42a61b7c0a39ce2f5
parent0e7fb6da9e0bbd3f82b5711a8e4c02f03b224660
Fix date sorting in patron-related XUL interfaces

Null time stamps are now converted to dates in the Middle Paleolithic
era so they always sort as the lowest date.

Seriously, this is the minimum possible date you can express with a JavaScript
date object.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/util/date.js
Open-ILS/xul/staff_client/server/patron/util.js