http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15187 Bug ID: 15187 Summary: Adding 880 Fields to index-list in order to increase Search or RTL Script (Arabic) Change sponsored?: --- Product: Koha Version: 3.20 Hardware: PC OS: Windows Status: NEW Severity: critical Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: jesse@meta21st.com QA Contact: testopia@bugs.koha-community.org We have found that after we turned on ICU indexing to index Arabic in our catalogue (using these steps: http://wiki.koha-community.org/wiki/Correcting_Search_of_Arabic_records), we get results from searches in Arabic but NOT in specific search-limits such as "title," "author" or "series." This is 880 isn't INDEXED SPECIFICALLY TO DELIVER SEARCH RESULTS. We would very much like to add this functionality to our Koha instance. We have tried our hand at these steps (to add new field to the indexing list): http://wiki.koha-community.org/wiki/How_to_add_new_zebra_index to no avail. A friendly listserver suggested something like this:
<xsl:template match="marc:datafield[@tag='880']"> <xsl:variable name="linkage" select="substring(marc:subfield[@code='6']",1,3)"/><!-- linkage might contain something like 245 or 260 or 100 --> <xsl:call-template name="$linkage" /> </xsl:template>
But then suggested that we try something like this:
<index_subfields tag="880" subfields="a" condition="substring(marc:subfield[@code='6']",1,3) = 245"> <target_index>Title-cover:w</target_index> <target_index>Title-cover:p</target_index> <target_index>Title-cover:s</target_index> <target_index>Title:w</target_index> <target_index>Title:p</target_index> <target_index>Title:s</target_index> </index_subfields>
But that this required a specific block of edits to be made FOR EVERY LINKED FIELD to get 880 indexed "properly." Thank you. I have attached a few records from or catalogue. Jesse Lambertson jlambertson@sqcc.org -- You are receiving this mail because: You are watching all bug changes.