Skip to content

Commit

Permalink
Update app/models/search.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Armintor <[email protected]>
  • Loading branch information
cbeer and barmintor authored Jul 13, 2022
1 parent d2c4519 commit 5abe70d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
class Search < ApplicationRecord
belongs_to :user, optional: true

# use a backwards-compatible serializer until the Rails API stabilizes and we can evaluate for major-revision compatibility
serialize :query_params, Blacklight::SearchParamsYamlCoder

# A Search instance is considered a saved search if it has a user_id.
Expand Down

0 comments on commit 5abe70d

Please sign in to comment.