Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dlc-1140 enable fulltext on Carnegie site #225

Merged
merged 3 commits into from
Jul 24, 2024
Merged

dlc-1140 enable fulltext on Carnegie site #225

merged 3 commits into from
Jul 24, 2024

Conversation

@barmintor barmintor requested a review from JackBlackLight July 23, 2024 22:15
end

it 'only includes the field values in facet.field' do
expect(config.search_fields['fulltext_tesim']).to be_a Blacklight::Configuration::SearchField

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A background info question: if the flag was not working as expected, what value would config.search_fields['fulltext_tesim'] return?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm if the default was not working it would presumably be nil. It's an added feature here that only applies in two contexts: the Carnegie site and the Carnegie Centennial site; the latter shares all of the configuration except the fulltext field. Semantically it seemed preferable to have the explicit behavior be to suppress the fulltext option.

described_class.configure(config, fulltext: false)
end

it 'only includes the field values in facet.field' do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you intend for this test to also say that it 'only includes the field values in facet.field' or was that a copy error?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aargh! I'll fix this in a separate commit.

@barmintor barmintor merged commit d9570f7 into main Jul 24, 2024
1 check passed
@barmintor barmintor deleted the dlc_1140 branch September 11, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants