Skip to content

Commit

Permalink
🧹 [i774] - Updating index type to bsi (boolean)
Browse files Browse the repository at this point in the history
This commit is a follow up for issue #774 show_pdf_viewer and show_pdf_download_button should store boolean values and have a solr index type as _bsi.
  • Loading branch information
Shana Moore committed Sep 15, 2023
1 parent a10ad25 commit 6f8c35c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/concerns/pdf_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ module PdfBehavior

# This is here so that the checkbox is checked by default
def set_default_show_pdf_viewer
self.show_pdf_viewer ||= 'true'
self.show_pdf_viewer ||= true
end

def set_default_show_pdf_download_button
self.show_pdf_download_button ||= 'true'
self.show_pdf_download_button ||= true
end
end

0 comments on commit 6f8c35c

Please sign in to comment.