Koha/C4
Allen Reinmeyer 25eb36f21f Bug #2531 Cannot delete private shelf
Added logic to create a list of private lists to check on deletion.  Multiple pages have the ability to delete lists, both private and public.  Default option of retrieving a user's lists is retrieving the public ones.  Now private lists of the owner are retrieved as well and checked upon deletion request.  This allows any method of deletion to delete the correct list without examining the myriad of options currently used to indicate display of privateshelves and expect all pages to know whether a shelf number comes from a private or public list.  Since deletion occurs based on shelf number and the virtualshelves table has a primary key on shelf number, this will not cause unwanted deletion of shelves.

UPDATE:  added logic for conditional creation of shelves.  Also note change in staff side as deletions worked except for viewing a populated shelf, then deleting.  The confirm message showed, but the display was of public shelves, not private.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-11-20 08:33:59 -06:00
..
AuthoritiesMarc added C4/AuthoritesMarc/*.pm missed in previous patch 2008-01-04 19:08:30 -06:00
Barcodes bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
ClassSortRoutine ignore "/" when sorting Dewey call numbers 2007-10-23 18:24:29 -05:00
External Bug 2400 [15/18]: fixing pod syntax in C4/External/BakerTaylor.pm 2008-08-12 19:42:37 -05:00
Heading bug 2479: allow MARC21 bib 440 to link to authorities 2008-08-06 14:49:55 -05:00
Members Bug 2176 (2/5): adding patron interface to update messaging preferences 2008-06-20 13:04:50 -05:00
OAI bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Reports fix for bug 2543: report output by tabulation a bit too literal 2008-10-23 11:44:28 -05:00
Search FRBR: added OPAC search result grouping option 2008-02-11 16:35:17 -06:00
SIP Allow SIP checkout to pre-empt unfilled holds. 2008-11-04 14:40:38 -06:00
tests Patch from Galen Charlton, removing $Id$ $Log$ and $Revision$ from files 2007-10-18 20:22:01 -05:00
VirtualShelves Bug #2531 Cannot delete private shelf 2008-11-20 08:33:59 -06:00
Accounts.pm bug: chargelostitem() didn't unset onloan on the item record. 2008-10-05 21:01:24 -05:00
Acquisition.pm Bug 2400 [1/18]: fixing pod syntax in C4/Acquisitions.pm 2008-08-12 19:39:13 -05:00
Amazon.pm fix for 2322: Failure to reach amazon.com to retrieve enhanced content causes fatal error in Koha 2008-07-08 16:31:04 -05:00
Auth.pm Remove hardcoded "Freelist" line from Auth. 2008-10-01 12:21:49 -05:00
Auth_with_ldap.pm bug fix : 2805 2008-11-18 16:46:32 -06:00
AuthoritiesMarc.pm commented out unconditional warns 2008-08-09 11:05:57 -05:00
BackgroundJob.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Barcodes.pm bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Biblio.pm bug: bookcount.pl pulls wrong title. Problem is sql joins on wrong columns 2008-08-25 11:51:40 -05:00
Bookfund.pm bug-1494, fixed bookfund modify code 2007-11-01 17:27:55 -05:00
Bookseller.pm Bug 2419: require Exporter 2008-08-27 09:51:18 -05:00
Boolean.pm Boolean.pm - BEGIN block VERSION and vars related to export. 2008-01-07 20:02:24 -06:00
Branch.pm bug 1953: fixing potential SQL injection problems in C4::Branch::GetBranches 2008-05-12 15:07:17 -05:00
Breeding.pm IMPORTANT - refactor MARC character set handling 2008-02-03 07:23:56 -06:00
Calendar.pm followup to Calendar overhaul 2008-10-23 12:35:11 -05:00
Charset.pm Improve C4::Charset::MarcToUTF8Record performance 2008-11-06 15:53:29 -06:00
Circulation.pm followup 1 to to renewal limit override 2008-10-23 10:34:56 -05:00
ClassSortRoutine.pm call number work part 2 -- added framework for call number filing routines 2007-10-21 22:11:37 -05:00
ClassSource.pm call number work part 3 -- now using new routines to generate call number sort keys 2007-10-21 22:11:40 -05:00
Context.pm fix POD error 2008-11-11 16:03:09 -06:00
Dates.pm Dates.pm - trivial perldoc corrections 2008-04-08 17:00:07 -05:00
Debug.pm C4::Debug - should resolve conflict w/ CGI upload. Debug no longer uses CGI. 2008-03-16 08:32:20 -05:00
Heading.pm Porting SimpleSearch return changes to all code calling it. 2008-04-17 05:52:45 -05:00
ImportBatch.pm Bug 2400 [10/18]: fixing pod syntax in C4/ImportBatch.pm 2008-08-12 19:41:20 -05:00
Input.pm Input.pm - perldoc correction 2007-12-27 17:21:07 -06:00
Installer.pm Bug 2775: adding method to clean syspref cache in C4::Context 2008-11-11 15:59:00 -06:00
Items.pm bugfix: Sort previous borrowers descending in Items.pm for moredetail.pl 2008-10-16 14:47:11 -05:00
Koha.pm Minor cleanup, updated POD. 2008-09-09 10:53:04 -05:00
Labels.pm Bug 2555 : label batch_id not properly incremented after batch num 10. 2008-10-05 21:37:12 -05:00
Languages.pm Fix for 2184 2008-07-14 08:39:14 -05:00
Letters.pm Fix for 2492: Mail::Sendmail chokes on utf-8 [ process_message_queue.pl ] 2008-08-10 14:42:47 -05:00
Log.pm Bug 2400 [3/18]: fixing pod syntax in C4/Log.pm 2008-08-12 19:39:41 -05:00
Maintainance.pm rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
Matcher.pm bug 1980: updateing calls to SimpleSearch to limit number of things returned 2008-07-10 09:11:24 -05:00
Members.pm Squash warnings by checking if $type is defined before comparing it. 2008-11-06 14:16:58 -06:00
NewsChannels.pm Bug 2400 [12/18]: fixing pod syntax in C4/NewsChannels.pm 2008-08-12 19:41:38 -05:00
Output.pm Bugfix pagination_bar to work with only one param/value pair. 2008-07-10 09:11:44 -05:00
Overdues.pm Fines fixes: apparent problems with fines prevent processing. 2008-08-29 20:31:41 -05:00
Print.pm clean up old-style calls to GetMemberDetails 2008-06-25 11:39:22 -05:00
Record.pm fixed MODS biblio export on a "standard" install 2008-04-01 06:46:08 -05:00
Reports.pm fix for bug 2543: report output by tabulation a bit too literal 2008-10-23 11:44:28 -05:00
Reserves.pm bug 2522 [2/3]: C4::Reserves support for request targeting 2008-08-18 07:15:52 -05:00
Review.pm minor cleanup, remove $sth->finish's. No documentation impact. 2008-05-30 10:01:06 -05:00
Scheduler.pm Bug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm 2008-08-12 19:39:23 -05:00
Scrubber.pm Unescape Comment, now that we trust Scrubber to block bad markup. 2008-05-29 06:30:51 -05:00
Search.pm bug 2729: redundant call to C4::Biblio::get_biblio_authorised_values 2008-10-30 08:16:59 -05:00
Serials.pm Bug 2400 [6/18]: fixing pod syntax in C4/Serials.pm 2008-08-12 19:40:30 -05:00
SMS.pm Bug 2400 [5/18]: fixing pod syntax in C4/SMS.pm 2008-08-12 19:40:03 -05:00
Stats.pm Work in progress, working on the til reconciliation report 2008-01-07 20:49:16 -06:00
Suggestions.pm modification to show the library and not the username of the person at OPAC. 2008-09-02 16:24:29 -05:00
Tags.pm Bug 2279: TagsModeration effectiveness restored. 2008-07-22 15:45:04 -05:00
UploadedFile.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Utils.pm Big LDAP changes, module test for Context.pm, still more yet to come. 2007-12-04 17:27:06 -06:00
VirtualShelves.pm bug 2459: fix module depedency error blocking SIP2 2008-08-04 15:26:54 -05:00
XISBN.pm Bug 2410: Can't use string ("0") as an ARRAY ref while "strict refs" in use at detail.pl line 219 2008-08-09 08:01:14 -05:00
XSLT.pm bug 2248 [2/2]: import item status display in search results 2008-06-20 17:47:04 -05:00
Z3950.pm Z3950.pm - BEGIN block VERSION and vars related to export. 2008-01-07 20:02:50 -06:00