[Koha-bugs] [Bug 15554] New: Organize entries in ccl.properties

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 12 00:07:29 CET 2016


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

            Bug ID: 15554
           Summary: Organize entries in ccl.properties
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Z39.50 / SRU / OpenSearch Servers
          Assignee: gmcharlt at gmail.com
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

At the moment, ccl.properties is fairly disorganized. Once upon a time, it may
have been organized numerically or alphabetically, but that seems to have gone
out the window a bit. 

It would be nicer if it followed a similar scheme to
https://www.loc.gov/z3950/agency/defns/bib1.html

That is, qualifiers and aliases would be grouped into Bib-1 attribute
categories: 

1. Use Attributes
2. Relation Attributes
3. Position Attributes
4. Structure Attributes
5. Truncation Attributes
6. Completeness Attributes
--
Indexdata Extensions:
7. Sort
9. Ranking

In other words, all entries that roughly follow the pattern "Qualifier
1=[A-Za-z0-9]+" would be grouped in "1. Use Attributes". 

Examples: 
Abstract 1=62
ab Abstract

Any 1=1016
kw Any

Likewise, entries following the pattern "Qualifier 2=[A-Za-z0-9]+" would be
grouped in "2. Relation Attributes".

Examples:

lt 2=1
le 2=2
eq 2=3
ge 2=4
gt 2=5
ne 2=6

---

That said... maybe it makes sense to group together qualifiers that are
functionally similar. Like everything found around the comment "# Koha
Local-Use Authority Indexes" or "# Subdivisions".

I'm not 100% sure how we should order qualifier (and alias) entries within
their respective Bib-1 attribute categories. We could do it alphabetically or
numerically (although some entries use index string names rather than numerical
values. Example: Geographic-subdivision 1=Geographic-subdivision).

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


More information about the Koha-bugs mailing list