curation_concerns 0.12.0.pre6 → 0.12.0.pre7
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c391f4cafeaf126bf03b0d5bfb00cc73a064ee9e
|
4
|
+
data.tar.gz: 288a18be58a7d6f529e469688a01870e1838aae3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1bbdb3943a11c78edc5cdebcacdb0adbc616d76d7df2fc334228ee0436ce03d0951999a71f1db340081281948b36c89fbca97ad1a95b36cec72b58f810c43b8
|
7
|
+
data.tar.gz: 803b3f489174894eee8a183c68f92d0410bdeb9c754cc89cfcb9f1fc4c20abc09b04f49168db98003c67bcf684680601ce1e22fd0f7342e01b560aa0e060c197
|
@@ -62,9 +62,9 @@ module CurationConcerns
|
|
62
62
|
|
63
63
|
# @return [Array<String>] ids of the collections that this work is a member of
|
64
64
|
def in_collection_ids
|
65
|
-
ActiveFedora::SolrService.query("{!field f=
|
66
|
-
fl:
|
67
|
-
.map { |x| x.fetch(
|
65
|
+
ActiveFedora::SolrService.query("{!field f=member_ids_ssim}#{id}",
|
66
|
+
fl: ActiveFedora.id_field)
|
67
|
+
.map { |x| x.fetch(ActiveFedora.id_field) }
|
68
68
|
end
|
69
69
|
|
70
70
|
# TODO: Extract this to ActiveFedora::Aggregations::ListSource
|
@@ -78,9 +78,9 @@ module CurationConcerns
|
|
78
78
|
# in order.
|
79
79
|
def file_set_ids
|
80
80
|
ActiveFedora::SolrService.query("{!field f=has_model_ssim}FileSet",
|
81
|
-
fl:
|
81
|
+
fl: ActiveFedora.id_field,
|
82
82
|
fq: "{!join from=ordered_targets_ssim to=id}id:\"#{id}/list_source\"")
|
83
|
-
.flat_map { |x| x.fetch(
|
83
|
+
.flat_map { |x| x.fetch(ActiveFedora.id_field, []) }
|
84
84
|
end
|
85
85
|
end
|
86
86
|
end
|