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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 26 Apr 2013 11:55:18 +0000 (07:55 -0400)
commit545573d33318a37e5f58f053acc3a5cf09a9260c
tree4a6c201b219f8f267231c391ca46bf5eb9173a44
parent9e70efd11049b12f672b0fdbbe22d23a6e304d1c
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: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt