active_fedora_finders 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,12 +9,12 @@ module ActiveFedora
|
|
9
9
|
autoload :Version
|
10
10
|
|
11
11
|
SINGLE_VALUE_FIELDS = [:pid, :cDate, :mDate, :label]
|
12
|
-
SYSTEM_FIELDS =
|
12
|
+
SYSTEM_FIELDS = [:ownerId].concat(SINGLE_VALUE_FIELDS)
|
13
13
|
DC_FIELDS = [:contributor, :coverage, :creator, :date, :description, :format,
|
14
14
|
:identifier, :language, :publisher, :relation, :rights, :source,
|
15
15
|
:subject, :title, :type ]
|
16
16
|
SUPPORTED_ALTS = [:cdate, :create_date, :mdate, :modified_date, :owner_id]
|
17
|
-
ALL_FIELDS = SYSTEM_FIELDS.concat(DC_FIELDS)
|
17
|
+
ALL_FIELDS = [].concat(SYSTEM_FIELDS).concat(DC_FIELDS)
|
18
18
|
FIELD_KEYS = begin
|
19
19
|
fk = Hash[ALL_FIELDS.map {|a| [a.to_s, a]}]
|
20
20
|
fk["cdate"] = :cDate
|