From: Demian K. <dem...@vi...> - 2012-04-27 15:11:17
|
The default status settings don't really lend themselves well to displaying due dates -- the status that shows up is summarized from all attached items on a record, so there might be a mix of different due dates for one bib record. In order to do this, I'd recommend switching to the "full status" mode. 1.) Turn on the show_full_status setting in the [Item_Status] section of web/conf/config.ini. 2.) The full status display is controlled by the AJAX/status-full.tpl in your chosen theme. 3.) The {$item.*} values used in the template come from your ILS driver's getStatus() method. Usually this is less detailed than the getHolding() method, so you might need to customize your driver to add an extra field in order to get access to the due date... but it's probably just a matter of copying some code from getHolding(). - Demian ________________________________ From: Harris, Gary [gar...@se...] Sent: Friday, April 27, 2012 10:17 AM To: vuf...@li... Subject: [VuFind-General] Adding Due Date to Search List We would like to add the due date for checked out items that appear in the search list. Is there an easy way to do this? I looked at the properties for the object “items” in the search.js file, but the due date wasn’t one of them, and I can’t find the code that builds the “items” object. Gary |