Prevent Checkout

Help
nigel
2012-06-14
2013-05-30
  • nigel
    nigel
    2012-06-14

    How do I set checkout privs so that certain member types are unable to check out certain material types?
    In our case we allow self-checkout, but some books are for the older grades only.
    I tried entering -1, n, - in the Checkout Limits field, but it always reverts to zero.

    thanks

    nigel

     
  • Hello Nigel,

    Values allowed by the database field are 0 - 255.

    Personally I would not expect unlimited checkouts to be allowed when the value for Checkout Limit is zero, but that is clearly the intention in line 436 of BiblioCopyQuery.  Changing the word FALSE into TRUE in the following line might make it right for your library.
    https://bitbucket.org/mstetson/obiblio/src/2c3094f06676/classes/BiblioCopyQuery.php#cl-437

     
  • nigel
    nigel
    2012-06-17

    That works perfectly.
    Thank you very much!

    nigel

     


Anonymous


Cancel   Add attachments