]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 26 Apr 2013 11:55:57 +0000 (07:55 -0400)
commitb391e79c2e30b7feaa984c0fd835f97ac88b6221
tree02925bcafae7ee9f60c533db1632bb8c00c8d143
parent5bff5aa448c921fb67879924a54b3704f5485eb1
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>
(cherry picked from commit 545573d33318a37e5f58f053acc3a5cf09a9260c)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt