Bug 8026 - Facets code should allow to build facets on controlfields
Summary: Facets code should allow to build facets on controlfields
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic data support (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 08:40 UTC by Katrin Fischer
Modified: 2013-09-16 07:44 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2012-04-30 08:40:09 UTC
In order to build a facet for the document type (serial, analytic, set etc.) facets need to be build using the controlfields and specified position.
Comment 1 David Cook 2013-08-15 05:12:10 UTC
(In reply to Katrin Fischer from comment #0)
> In order to build a facet for the document type (serial, analytic, set etc.)
> facets need to be build using the controlfields and specified position.

The Leader is also necessary to build facets for document/record type. 

A Record Type facet should probably operate the same as the XSLT (i.e. use the Leader and 008 to determine a  meaningful record type).

A Publication date facet would also be nice, although I'm not sure what the best way to do that would be. I suppose we could use the 260$c or 264$c...but maybe the 008 dates are the best to use for it. Mind you, Date1 and Date2 can get somewhat complicated depending on the type of date that is encoded...

What are other types of facets that we could/should be getting out of the controlfields? 

I've already made a rudimentary record type facet using the Leader using just Leader position 06, but I'm sure that we could do better...
Comment 2 Mathieu Saby 2013-09-15 17:20:10 UTC
Very needed!
Comment 3 Mathieu Saby 2013-09-16 07:44:14 UTC
I have a plan to improve facets. Could you please take a look and comment the bug if you have any remarks?
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10891

M. Saby