Bug 7786

Summary: Adding More Lists to the Add-to combo of staff search results
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: ListsAssignee: Marcel de Rooy <m.de.rooy>
Status: CLOSED FIXED QA Contact: Ian Walls <koha.sekjal>
Severity: enhancement    
Priority: P5 - low CC: mathilde.formery, paul.poulain
Version: 3.8   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7868
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Patch

Description Marcel de Rooy 2012-03-22 06:46:14 UTC
This report complements report 7732 for staff side.
Difference is that the option More Lists was never in the staff client. Just as in report 7732 I am adding this option to the combo if the number of lists exceeds 9 for private or public.

Testplan: Have <=9 private lists and <=9 public lists. The more lists option should not be in the Add to combo in catalogue search results. Add some private lists so that count>9. Check again (refresh). The option More Lists should come up now at the end of the list just before New List.
Comment 1 Marcel de Rooy 2012-03-22 06:55:32 UTC
Created attachment 8463 [details] [review]
Comment 2 Marcel de Rooy 2012-03-22 07:09:51 UTC
Just to make sure: Do not forget to test adding a biblio to one of the lists too via the More Lists option ;)
Comment 3 MathildeF 2012-03-23 10:39:17 UTC
Tested on sandbox.

- the option "More Lists"  WHERE private lists and/or public lists > 9
- adding a biblio to one of the lists too via the More Lists option

works correct
Comment 4 Ian Walls 2012-03-25 20:57:41 UTC
Okay, the spacing on this was a little difficult for me to trace out on first read, but on close inspection, everything is fine.  Template only change, with some Javascript.  Marking as Passed QA.