We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b9b9c commit c7f5a90Copy full SHA for c7f5a90
lib/extensions/bulkrax/exporter/export_metadata_only.rb
@@ -1,17 +1,19 @@
1
-# unmodified from bulkrax 5.5.1
+# modified from bulkrax 5.5.1
2
module Extensions
3
module Bulkrax
4
module Exporter
5
module ExportMetadataOnly
6
+ # modified to remove option for files export
7
def export_type_list
8
[
9
[I18n.t('bulkrax.exporter.labels.metadata'), 'metadata'],
- [I18n.t('bulkrax.exporter.labels.full'), 'full']
10
+ # [I18n.t('bulkrax.exporter.labels.full'), 'full']
11
]
12
end
13
14
+ # modified to never support file export
15
def metadata_only?
- export_type == 'metadata'
16
+ true # export_type == 'metadata'
17
18
19
0 commit comments