[Koha-bugs] [Bug 6499] MARC21 035 -- Other-control-number -- Indexing & Matching

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 7 21:20:51 CEST 2015


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

Barton Chittenden <barton at bywatersolutions.com> changed:

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

--- Comment #16 from Barton Chittenden <barton at bywatersolutions.com> ---
Notes for Katrin and/or other QA: Nick Clemens tested this successfully on a
clean kohadevbox install; noted that the javascript in my test procedure was
missing the closing ");"

I have seen issues recently where 'gitify' does not take into account the fact
that $KOHA_CONF needs to point to an instance specific version of
zebra-biblios-dom.cfg -- it stays pointed to the package version, which has the
wrong profilePath. This will cause any changes made to DOM indexes to be
ignored... so before testing, you might want to do the following:

* grep zebra-biblios-dom.cfg $KOHA_CONF

  This will show you the path to zebra-biblios-dom.cfg.

* grep profilePath [PATH TO zebra-biblios-dom.cfg]/zebra-biblios-dom.cfg

  If profilePath does not include your git directory (e.g. kohaclone), your
tests will fail.

Here's an updated test procedure, including the corrected javascript.

1) Apply patch
2) Make sure that you have a bib that has MARC21 035$a (and possibly also
035$z) populated.
3) Rebuild zebra: misc/migration_tools/rebuild_zebra.pl -x -b -z
4) Add the following to the intranetuserjs syspref:

$(document).ready(function(){
    // Add Other Control Number to advanced search
    if (window.location.href.indexOf("catalogue/search.pl") > -1) {
        $(".advsearch").append('<option value="Other-control-number">Other
Control Number</option>');
    }
}); 

5) Do an advanced search, select "Other Control Number" from the search menu,
then add the Other Control Number in 035$a for the bib specified in step 1.

The advanced search should return that biblio record.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list