Opac 7.x-1.5, 2013-04-08
-------------------------------------------------------------------------------
Features:
RM 330: Allow to hide some items depending of item fields values
RM 775 Place an hold link for all users (anonymous too)
- Fix anonymous permissions usage
- Fix pareview and variable_get misusage.
- Allow to choose wether the user will be redirected to the login or registration page.
- Allow anonymous users to hold a title or an item.
On click, the user lands on the login page, and once logged,
he is redirected to the hold page.
This is not perfect, though, as holdability depends on the
borrower, and cannot be guessed with an anonymous user.
So it might happen that the hold is denied after the user logged in.
RM 915 (Story 330): Displaying of items lost
- Provide a way to hide some items that met some criteria
- Move all opac_items theme functions in opac_items.theme
Configuration of criteria can be modified at
admin/config/opac/servers/manage/%server/items-settings
RM 885 (Story 867): Integer plugin skip values with no numeric character
Bugfix:
RM 833: Remove hook_preprocess_page. (to fix
Fix (and hook useless) Undefined property: stdClass::$type dans opac_preprocess_page() (ligne 227 dans /home/drupal/www/sites/all/modules/opac/opac.module)
RM 864: Add function isBiblioHoldable to OpacConnector interface
and use this function to know if the 'Hold title' link should be displayed or not.
RM 858: opac_items: fix retrieving items availability
The node id is contained in a span tag inside div.opac_items_availability
but sometimes this span tag is wrapped by a 'a' tag so .children() do
not find the right node.
This patch replaces .children() by .find() which search deeper
RM 806 fix out of memory on opac-purge
Process opac-purge 100 by 100 items