Allow "override once per patron" at checkout

Bug #816452 reported by Thomas Berezansky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Status tracked in Main
Main
Fix Released
Wishlist
Jason Etheridge

Bug Description

Specifically for patron-derived overrides:
PATRON_EXCEEDS_OVERDUE_COUNT
PATRON_BARRED
PATRON_EXCEEDS_CHECKOUT_COUNT
PATRON_EXCEEDS_FINES

This is done by:
Adding support for a list of "reported" overrides to util/network.js
Using that in Checkout to build an auto-override list for the current patron
Passing that list in at Checkout

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;<email address hidden>/override_once

You need only add the remote once, regardless of how many branches you wish to look at.
To add this repo as working:
 Read-only (git protocol):
  git remote add working git://git.evergreen-ils.org/working/Evergreen
 Read-write (ssh protocol):
  git remote add working <email address hidden>:working/Evergreen

Once you have the remote added you can check out this branch:
git co -b override_once <email address hidden>/override_once

Tags: pullrequest
Revision history for this message
Thomas Berezansky (tsbere) wrote :

I added an extra commit to throw a notice that the four overrides will "stick" for the patron session.

Also rebased. <_<

Revision history for this message
Jason Etheridge (phasefx) wrote :

pushed to master with a few tweaks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.