]> git.koha-community.org Git - koha.git/commit
fix the private shelf deletion in opac
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Thu, 6 Nov 2008 08:34:06 +0000 (09:34 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 6 Nov 2008 20:48:14 +0000 (14:48 -0600)
commita79a977ee2b0b519725682d38e9b442ea8fd0708
tree2e68576a6ff64c3c81c732a8356501205bec6cc0
parent36e384adc7984295f9dfefe4640721b0c729c62a
fix the private shelf deletion in opac

this patch add an "hidden" field in the template, that permit in C4::VirtualShelves::Pages to get the right(privates) shelves with
GetShelves in$
of always public shelves.
So when a private shelf is wanted to be deleted, the script watch only in public shelves if the shelf exists, and doesn't work.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl