Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Fix hound issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VivianChu committed Jul 23, 2018
1 parent 4a2e45d commit bdcf3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dams/controller_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ def raw_solr(params = {})
end

def mix_objects?(collection_id, obj_count)
return false unless obj_count && obj_count > 0
return false unless obj_count && obj_count.positive?
total_count(collection_id) > obj_count
end

Expand Down

0 comments on commit bdcf3c2

Please sign in to comment.