fix the private shelf deletion in opac
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Thu, 6 Nov 2008 08:34:06 +0000 (09:34 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 12 Nov 2008 16:01:38 +0000 (17:01 +0100)
commit8d5512ec3f9af55ebd3af13d8180cbfcff4563eb
treedab6af903ea03fe72a9b0630a61d6dbfb22c94bd
parentc717a719d83b502abb10cdfe66a393cec55bfed5
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