This patch builds on top of 7310, but the problem is in master already.
If you delete a non-empty list from shelf view (looking at the biblio records of the list), the confirm message is shown but listing public lists instead of private lists.
Report 7310 resolved this for staff. This patch adds it for OPAC.
Created attachment 8440 [details] [review]
One-line-fix: easy to test (after 7310 is through)
Tested on sandbox.
it works correct.
Template only change, adding a new template parameter to the submit to opac-shelves.pl if showprivateshelves is set. Marking Passed QA.
tiny comment: it would have been more clear to write the patch on 2 lines:
+ [% IF ( showprivateshelves ) %]<input type="hidden" name="display" value="privateshelves"/>[% END %]
alone, but will push the patch as it is ;-)