]> 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:01:52 +0000 (22:01 +1200)
commit31a6b2265315a9ac376887a64c6f532b94a28cce
treee3eee6c9e1e4f4182f3e83e6f55593eb3fba622b
parenta43c5d0bdd2413d6a125b10710deab6e38026404
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