From 5abe70d4d3d63d300928a22c6541224963696fda Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Wed, 13 Jul 2022 10:24:41 -0700 Subject: [PATCH] Update app/models/search.rb Co-authored-by: Benjamin Armintor --- app/models/search.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/search.rb b/app/models/search.rb index c01e0a9ed3..02f50edaa1 100644 --- a/app/models/search.rb +++ b/app/models/search.rb @@ -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.