[Koha-bugs] [Bug 7626] New: Delete multiple tags at once

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 29 18:51:01 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7626

             Bug #: 7626
           Summary: Delete multiple tags at once
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
        AssignedTo: oleonard at myacpl.org
        ReportedBy: oleonard at myacpl.org
         QAContact: koha.sekjal at gmail.com


opac-tags.pl is written in such a way that it's simple to pass multiple tag ids
for deletion. If we add a checkbox by each tag in the user's tags list they can
select tags to delete and submit many at once.

The problem with this is a potential conflict with the individual "delete"
buttons in each row of the tags table. Each one of those is a submit button as
well, named with the tag id to be deleted. What if I select multiple tags, then
decide I just want to delete one by clicking the delete button in that row? The
script will still pass data for each checked tag and delete them.

A javascript solution to this problem would be fairly simple. However, the tags
feature currently works well without javascript and I'd hate to add that
dependency.

Options: 

1) Forget about multiple tag deletion. 
2) Get rid of the "delete" button on each line of the tags table and force the
user to check boxes for deletions (like we do with items on a list). 
3) Something else, like re-writing the way opac-tags.pl handles deletions.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list