Skip to content

Commit

Permalink
Merge pull request #247 from geoblacklight/v4-upgrade-search-builder-…
Browse files Browse the repository at this point in the history
…note

Update upgrade_version_4_0.md
  • Loading branch information
karenmajewicz authored Feb 8, 2024
2 parents 90429e4 + 3f51169 commit 5a7dd40
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/docs/upgrade_version_4_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,20 @@ GBL installer now includes a `before_action` method to permit GBL application pa
end
```

### SearchBuilder

`app/models/search_builder.rb`

GBL's default search builder concerns have changed. We've added `Geoblacklight::SuppressedRecordsSearchBehavior`. You'll need this code in your application's `search_builder.rb` class:

```ruby
# frozen_string_literal: true
class SearchBuilder < Blacklight::SearchBuilder
include Blacklight::Solr::SearchBuilderBehavior
include Geoblacklight::SuppressedRecordsSearchBehavior
```

### Stylesheets

`app/assets/stylesheets/application.scss`
Expand Down

0 comments on commit 5a7dd40

Please sign in to comment.