[Koha] problem searching in opac

Chris Nighswonger cnighswonger at foundations.edu
Wed Mar 24 04:20:10 NZDT 2010


Great work Erik! See also this note in the syspref editor:

Note that you must have the Suppress index set up in Zebra and at
least one suppressed item, or your searches will be broken.


On Tue, Mar 23, 2010 at 10:47 AM, Erik Lewis <elewis at ngrl.org> wrote:
> Found it:  OpacSuppression
>
> From the manual
>
> Default: Don't hide
>
> Asks: ___ items marked as suppressed from OPAC search results.
> Values:
>
> Don't hide -- will show items in OPAC search results if they are marked
> suppressed
> Hide -- will not show items in OPAC search results if they're marked as
> suppressed
>
> Each bib record with items you want to hide from the OPAC simply need to
> have the 942n field set to 1. The index then hides it from display in OPAC
> but will still display it in the Staff Client
>
> On Mar 23, 2010, at 10:34 AM, Chris Nighswonger wrote:
>
> On Tue, Mar 23, 2010 at 9:55 AM, Erik Lewis <elewis at ngrl.org> wrote:
>
> Chris,
>
> Thanks for the suggestions.  I just have a hard time imagining it being an
> index or bad bib record since I haven't added any prior to upgrading, just
> the intial bib load, which was searching just fine in the OPAC and it is
> still working in the staff client.
>
> Sounds reasonable.
>
> What I think I'll do is set the OPAC and enhanced content sysprefs back to
> the defaults specified in the documentation and see if I can determine if
> its a syspref problem.  Any other sysprefs that could be in play outside of
> those groups?
>
> I'd love to say an unqualified 'no,' however I really do not know.
> Perhaps someone else can comment on that. There are several OPAC
> options under the "Searching" tab. There may be others in other
> places. A search of the sysprefs on the terms "OPAC" and "search"
> shows up quite a few prefs, however, I'm not sure what all might
> affect this issue.
>
> Kind Regards,
> Chris
>
>
>
>
>
>
>
> On Mar 23, 2010, at 9:34 AM, Chris Nighswonger wrote:
>
> On Tue, Mar 23, 2010 at 8:51 AM, Erik Lewis <elewis at ngrl.org> wrote:
>
> Chris,
>
> Ideas on a next step?  Are OPAC sysprefs the probable culprit?  Just want to
> be efficient as I roll up my sleeves.
>
> You could:
>
> 1. Truncate your systempreferences table and then reload it with the
>
> default syspref.sql file. (WARNING: This will remove ALL of your
>
> custom system preference settings... you've been warned. You could do
>
> mysqldump -t -ukohaadmin -p koha systempreferences > my_sysprefs.sql
>
> (I believe that is correct) and save your old settings.
>
> 2. Re test the opac search and see if that fixed it.
>
> If it does not, if you are running over git, you could:
>
> 1. create a separate test database.
>
> 2. modify koha-conf.xml to look at the new db.
>
> 3. checkout a test branch based on master (ie. git checkout master &&
>
> git checkout -b testbranch)
>
> 4. run through the web installer and install the sample data.
>
> 5. re-index zebra (./rebuild_zebra.pl -r -a -b -v)
>
> 6. check out the opac search and see if it works.
>
> If this second solution works, I'd suggest you have imported some
>
> corrupt bibs and/or items.
>
> Kind Regards,
>
> Chris
>
>
>


More information about the Koha mailing list