Skip to content

Commit

Permalink
Merge branch 'main' into hyrax-4-valkyrie-support
Browse files Browse the repository at this point in the history
* main:
  πŸ› Fix batch remove and rerun (#935)
  Download cloud files later (#930)
  • Loading branch information
jeremyf committed Mar 12, 2024
2 parents 7420b9c + db6cacf commit 64cf314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/parsers/bulkrax/application_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def rebuild_entry_query(type, statuses)
type_col = Bulkrax::Entry.arel_table['type']
status_col = Bulkrax::Entry.arel_table['status_message']

query = (type == 'work' ? type_col.not.matches(%w[collection file_set]) : type_col.matches(type.camelize))
query = (type == 'work' ? type_col.does_not_match_all(%w[collection file_set]) : type_col.matches(type.camelize))
query.and(status_col.in(statuses))
end

Expand Down

0 comments on commit 64cf314

Please sign in to comment.