Script Summary: Group LAPL Holds by status
Groups Los Angeles Public Library (lapl.org) holds (requests) by status: Ready for Pickup, In Transit, or Pending.
Instead of just listing the holds by status, this userscript groups them by status.
For holds that are Ready for Pickup it shows for each pickup date:
* The number of days you have left to pick up your holds. Remember that "a $1.00 fee will be charged if an item placed on hold is not canceled or picked up by the "Hold Until" date."
* The day of the week when the holds are due to be picked up
* The pickup date
* and the number of items to be picked up by that date.
This is then followed by the items due to be picked up sorted by title.
For holds that are Pending I list the items by the ratio of available # of copies to queue position. This gives you some idea of the order in which your holds will be available. If the ratio is above 1.00 you can expect the hold to be available "soon" (within 3 weeks).
Note: Since I can't figure out whether you've clicked on the other sort options (Author, Title, Date), when this userscript is enabled your items will always be grouped by status. If you want to use the other sort options for some strange reason then disable this userscript.
Update 11/14/2009: LAPL is still changing their website around (mostly for the worse). I'll update this script as soon as I notice another breaking change. Currently no pickup location will be shown for Ready for Pickup Items (I'll fix as soon as I have an item Ready for Pickup). In any case, LAPL no longer shows the Pickup Location for Pending Items. I presume they'll fix this.
Update 11/19/2009: Pickup Location now displayed for Ready for Pickup items.
Update 03/11/2010: LAPL changed over to using Yahoo Treeview widget. This userscript doesn't fully support collapsing/expanding nodes.
Update 03/31/2010: Fixed handling of Intransit items.
Update 08/09/2010: Fixed 2 digits year becoming 1910 instead of 2010.



