From: Osullivan L. <L.O...@sw...> - 2009-09-17 08:58:30
|
Hi Ray, Thanks for the e-mail. At some point I hope to create a placeHold function with Horizon. I've been tasked with implementing VuFind across three institutions which use three different ILS/LMS. I don't have access to Horizon yet but it's in the pipeline. You're right that you have to create your own user interface for Place Holds. I aim to do this using the Smarty Template as much as possible but some changes to the "get Transactions" php code may be necessary to ensure that the item_num is correctly received and assigned to Smarty. Cheers, Luke -----Original Message----- From: Ray Cummins [mailto:r...@bu...] Sent: 17 September 2009 00:27 To: Osullivan L. Cc: Demian Katz; vuf...@li... Subject: Re: [VuFind-General] Horizon Osullivan L. wrote: > Hi Ray, > > What do you think about adding the item id to the array returned by get > holding? This will make it easier to place holds / make recalls at the > item specific level and save having to re-interrogate the database to > get the item id in a placehold function. Getting the item id in the > place hold function may be more in keeping with the general design of > VuFind however. > Funny that "select item.item# as NUMBER..." has survived in the getHolding/getStatus function in Horizon.php/SirsiDynixSybase.php since VuFind-0.7, however NUMBER has never made its way into the $holding array. I see no reason for it not to be included in the array since that seems to have been the original intent (but I discovered VuFind only a month ago so who am I to talk about original intent?) I don't see any other (out-of-the-box) ILS driver putting an item number in the $holding array, so there's no precedent for naming the key that is assigned the value of NUMBER. Presumably a key name of "item_num" would not offend anyone? I was going to comment about the placeHold function being geared towards bib-level holds but I just found your VUFIND-76 in JIRA so I see where you're going with this now. Do you intend to implement placeHold in the Horizon.php driver? On a side note, correct me if I'm wrong, but I get the impression that even if one's ILS driver includes a working placeHold function, one has to "roll your own" user interface for it in VuFind (which is what you're doing)? |