bulkrax 5.4.0 → 5.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4561533e5e3bb65767c53d52be32e51848c0c2c81da51eb15709927b3499234f
|
4
|
+
data.tar.gz: 0c35135671a7536ed858246c4e7793c9b0743aef17caeeadd6e045e44b44200f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26c5cd6fd88dd94546b906f64762fb02ebdd1a830683202352616a3e347b7efc18900ba293d42ad162df176731bd7ccd7a7962db3180f16fcbbff95d2e577b46
|
7
|
+
data.tar.gz: 1aa71ab730fff3055537c003e02e3ea19696316f07b70e0c86ef8babc964f1b40c4aa2dc84736e841bfba31457ff8c81f98e4468eb95b174dd6c06522d2dc733
|
@@ -103,7 +103,11 @@ module Bulkrax
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def search_by_identifier
|
106
|
-
work_index
|
106
|
+
# TODO(alishaevn): return the proper `work_index` value below
|
107
|
+
# ref: https://github.com/samvera-labs/bulkrax/issues/866
|
108
|
+
# ref:https://github.com/samvera-labs/bulkrax/issues/867
|
109
|
+
# work_index = ::ActiveFedora.index_field_mapper.solr_name(work_identifier, :facetable)
|
110
|
+
work_index = work_identifier
|
107
111
|
query = { work_index =>
|
108
112
|
source_identifier_value }
|
109
113
|
# Query can return partial matches (something6 matches both something6 and something68)
|
data/lib/bulkrax/version.rb
CHANGED
data/lib/bulkrax.rb
CHANGED
@@ -152,7 +152,7 @@ module Bulkrax
|
|
152
152
|
"publisher" => { from: ["publisher"] },
|
153
153
|
"related_url" => { from: ["relation"] },
|
154
154
|
"rights_statement" => { from: ["rights"] },
|
155
|
-
"source" => { from: ["source"] },
|
155
|
+
# "source" => { from: ["source"], source_identifier: true },
|
156
156
|
"subject" => { from: ["subject"], parsed: true },
|
157
157
|
"title" => { from: ["title"] },
|
158
158
|
"resource_type" => { from: ["type"], parsed: true },
|
@@ -172,7 +172,7 @@ module Bulkrax
|
|
172
172
|
"related_url" => { from: ["relation"] },
|
173
173
|
"rights_holder" => { from: ["rightsHolder"] },
|
174
174
|
"rights_statement" => { from: ["rights"] },
|
175
|
-
"source" => { from: ["source"] },
|
175
|
+
# "source" => { from: ["source"], source_identifier: true },
|
176
176
|
"subject" => { from: ["subject"], parsed: true },
|
177
177
|
"title" => { from: ["title"] },
|
178
178
|
"resource_type" => { from: ["type"], parsed: true },
|
@@ -182,6 +182,9 @@ module Bulkrax
|
|
182
182
|
"Bulkrax::CsvParser" => {},
|
183
183
|
'Bulkrax::BagitParser' => {},
|
184
184
|
'Bulkrax::XmlParser' => {}
|
185
|
+
# "Bulkrax::CsvParser" => { "source" => { from: ["source"], source_identifier: true } },
|
186
|
+
# 'Bulkrax::BagitParser' => { "source" => { from: ["source"], source_identifier: true } },
|
187
|
+
# 'Bulkrax::XmlParser' => { "source" => { from: ["source"], source_identifier: true } }
|
185
188
|
}
|
186
189
|
|
187
190
|
# Lambda to set the default field mapping
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulkrax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Kaufman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|