PRECONDITIONS| -------------+ It is recommended that this test case is tested together with patch 6385 applied since that patch makes this functionality much more usable. lotsofitems-flag needs to activate in opac-detail.pl. This can be achieved by using a biblio with over 50 items. or By manually modifying the threshold in opac-detail.pl: if (scalar(@itemloop) >= 50 && !$viewallitems) { >>> if (scalar(@itemloop) >= 2 && !$viewallitems) { Remember to change the threshold back! This is fixed in bug_6385! Sysprefs FilterSerialsByIssue and NumberingFormulaParsingRegexp needs to be defined. Error is given if NumberingFormulaParsingRegexp is not defined when a filter would otherwise be presented. System preferences tell the default values. -------------------------------------- TESTING DATA: -------------------------------------- Patch needs to be tested with a serial subscription and a non-serial biblio. Filter form will behave differently depending if the item is a serial or not. Biblios must have more items than the lotsofitems-flag requires. Serial subscription must create items and use enumerations! -------------------------- WHAT SHOULD HAPPEN -------------------------- For a serial filter fields Volume, Number and Issue (if syspref is set) are displayed. Also the from/toDate -fields filter the publisheddate field instead of the timestamp field. For a non-serial biblio, only branch, and from/toDate are displayed. When the filter has content, a "clear filter" -button is displayed. Also use case where the user filters all results, a suggestion is given to clear the filter. ---------------------------- TEST CASE1 serial, with enumeration Vol 2013 : 11 ---------------------------- 1. Go to opac-detail.pl 2. Click the Limit issues-link 3. Set the Volume to 2013 4. Set the number to 11 5. Submit You should receive all the items with the given enumeration. Filter can vanish, this is fixed in bug 6385. ---------------------------- TEST CASE2 serial, from 01.01.2013 ---------------------------- 1. Go to opac-detail.pl 2. Click the Limit issues-link 3. Set the from date to 01.01.2013 4. Submit You should receive all the items published after 01.01.2013 Filter can vanish, this is fixed in bug 6385. ---------------------------- TEST CASE3 book, branch CPL ---------------------------- 1. Go to opac-detail.pl 2. Click the Limit issues-link 2a. No enumeration-related fields are present. 3. Set the branch to CPL 4. Submit You should receive all the items located in CPL Filter can vanish, this is fixed in bug 6385. Remember to change the lotsofitems threshold back! This is fixed in bug_6385!