[Koha-bugs] [Bug 14277] Search index 'lex' does not honor MARC indicator "ind1"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 28 16:26:38 CET 2015


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

Barton Chittenden <barton at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #5 from Barton Chittenden <barton at bywatersolutions.com> ---
== TO TEST ==

Set-up:

Add the following branch codes:  CES, EBE, PSM, SES, TCE, UES.
Add itemtype BOOK

Import data from attachment 46005.

Re-index, search for 'title Laura Ingalls Wilder'. This should return
biblionumber 86147.

Add the following to intranetuserjs

    $(document).ready(function(){
        //add lexile to search pull downs
        $("select[name='idx']").append("<option
value='lexile-number,st-numeric'>Lexile score (e.g. 600 or 550-650
)</option>");
        $("select[name='idx']").append("<option
value='Interest-age-level,wrdl'>Interest Age Level</option>");
        $("select[name='idx']").append("<option
value='Interest-grade-level,wrdl'>Interest Grade Level</option>");
        $("select[name='idx']").append("<option
value='Reading-grade-level,wrdl'>+Reading Grade Level</option>");
    });

Test plan:

1/ Go to advanced search, select 'Lexile score'. Search for 600 . Search will
fail
2/ Go to advanced search, select 'Lexile score'. Search for 500-599 . Search
will fail
3/ Go to advanced search, select 'Reading grade level'. Search for 1 . Search
will fail
4/ Go to advanced search, select 'Interest age level'. Search for 4-8 . Search
will fail
5/ Go to advanced search, select 'Interest grade level'. Search for 1-4 .
Search will fail
6/ Apply patch.
7/ Go to advanced search, select 'Lexile score'. Search for 600 . 
   Search will return
   Title: 'Maine coon cats'
8/ Go to advanced search, select 'Lexile score'. Search for 500-599 . 
   Search will return
   Title: 'The music of dolphins', 'Monday with a mad genius', 'Persian cats',
'Calico cats', ' Scottish fold cats'
9/ Go to advanced search, select 'Reading grade level'. Search for 1 . 
   Search will return
   Title: 'Poppleton forever'
10/ Go to advanced search, select 'Interest age level'. Search for 4-8 . 
   Search will return
   Title: 'Maine coon cats', 'Siamese cats', 'Persian cats', 'Calico cats',
'Scottish fold cats'
11/ Go to advanced search, select 'Interest grade level'. Search for 1-4 . 
   Search will return 
   Title: 'Monday with a mad genius'

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


More information about the Koha-bugs mailing list