]> git.koha-community.org Git - koha.git/commit
Bug 10107 - opacbookbag shouldn't prevent from adding items to a list in the OPAC
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 24 Apr 2013 14:40:18 +0000 (11:40 -0300)
committerChris Cormack <chris@bigballofwax.co.nz>
Sat, 27 Apr 2013 10:02:14 +0000 (22:02 +1200)
commit5ad048bb78b560ca821f4531e62c545d76999855
tree725555b8dd59131cc6d6dc6d9231e67372a4ea39
parentb7cdee156e47617ff79849321b178f66ec7058e6
Bug 10107 - opacbookbag shouldn't prevent from adding items to a list in the OPAC

This bug is present in master and (at least 3.8.x, where we spotted it).
The patch makes adding items, to a list from the results page, not rely
only on opacbookbag syspref but also 'virtualshelves'.

Regards
To+

PS: Thanks Graciela Galli for reporting.

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template only patch, works nicely.
Test plan copied from bug report:

- Disable the opacbookbag syspref
- Login in the OPAC
- Create a list (I tested a private one)
- Search in your db for some biblios.
- Choose some and add them to the created list
- Go to your users's page, to the my lists tab
- Your list is empty.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt