VuFind

Increased Functionality for placeHold

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: ILS Driver
  • Labels:
    None

Description

Add some options to the placeHold function to include optional item id, required by date and pick up library

/**
     * Place Hold
     *
     * This is responsible for both placing holds as well as placing recalls.
     *
     * @param string $recordId The id of the bib record
     * @param string $itemId The id of the item
     * @param string $patronId The id of the patron
     * @param string $comment Any comment regarding the hold or recall
     * @param string $type Whether to place a hold or recall
     * @param string $requiredBy The date the item is required by
     * @param string $pickUp The library id where the item is to be picked up
     * @return mixed True if successful, false if unsuccessful
     * If an error occures, return a PEAR_Error
     * @access public
     */

    function placeHold($recordId, $itemId=NULL, $patronid, $comment=NULL, $type, $requiredBy=NULL, $pickUp=NULL)
    {
        return $this->driver->placeHold($recordId, $itemId=NULL, $patronid, $comment=NULL, $type, $requiredBy=NULL, $pickUp=NULL);
    }

Activity

Hide
Demian Katz added a comment -
Expanded hold functionality in r3932 takes care of these requirements.
Show
Demian Katz added a comment - Expanded hold functionality in r3932 takes care of these requirements.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: