[Koha-bugs] [Bug 8521] Error in warning message when deleting list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 16 14:31:10 CEST 2014


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 29751
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29751&action=edit
Bug 8521 - Error in warning message when deleting list

When deleting a list the operation is blocked if there are items still
on the list, and the interface shows a warning which includes a count of
the items on the list. This count is broken for lists containing more
items than the number specified in the numSearchResults system
preference.

This patch corrects the item count to use an actual count of the total
number of results, not the total number of results in the first page of
results.

The template change to the staff client copies some language logic from
the OPAC template for dealing with a single number of list entries.

Test in both the OPAC and the staff client.

Check the number specified in the numSearchResults system preference and
locate or create a list containing more than that number of items. Try
to delete the list. You should receive a warning message stating the
correct total number of items on the list.

Test also with a list which contains fewer than numSearchResults
entries, and a list which contains zero entries.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list