[Koha-bugs] [Bug 11909] Fix hidelostitems, OpacHiddenItems total count, prog them facet display

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 17 03:32:15 CET 2014


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

wajasu <matted-34813 at mypacks.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25959|0                           |1
        is obsolete|                            |

--- Comment #6 from wajasu <matted-34813 at mypacks.net> ---
Created attachment 26393
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26393&action=edit
Bug-11909-Fix-hidelostitems-OpacHiddenItems-total-count facets, prog theme

Fix hidden items handling to set a tag 999h=1 for the biblio in
rebuild_zebra.pl
thus moving relavant items querying to rebuild_zebra.pl (for exported biblios).
Fix facets building counters to leverage looking at the tag in the marc record
getRecords method which feeds into searchResults.
Added the hiding of branch/library facet when OpacHiddenItems rules specify the
holdingbranch hidden.
Fix searchResults to hide biblio results accordingly.
Hopefully a perfomance improvement for searches since excessive database item
queries are done once at index build.

This patch lays the groundwork for: correct facet counting, and hooks for
patron category hiding rules, and opac supress without the need for and
extra zebra index.

This patch is a work in progress validation of this strategy before adding
all the other features and fixes on deck.

Once I have this patch somewhat verified with mtompset or others, I will add a
bunch of other fixes.

This patch:
- biblio in results are hidden if all its items are hidden.
  (not hidden if a lost or item exists from another branch)
- facets counters should be aligned with results

It would be nice to see if this perform better for folks with a large database.

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


More information about the Koha-bugs mailing list