Skip to content

Commit

Permalink
🎁 Configure OAI-PMH sets around collections
Browse files Browse the repository at this point in the history
This commit will add collections as sets to the OAI-PMH feed.

Ref:
- #666
  • Loading branch information
kirkkwang committed Jul 31, 2024
1 parent 08a24af commit 651b20e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ def self.created_field
document: {
limit: 100, # number of records returned with each request, default: 15
set_fields: [ # ability to define ListSets, optional, default: nil
{ label: 'collection', solr_field: 'isPartOf_ssim' }
{ label: 'admin_set', solr_field: 'isPartOf_ssim' },
{ label: 'collection', solr_field: 'member_of_collections_ssim' }
]
}
}
Expand Down

0 comments on commit 651b20e

Please sign in to comment.