Skip to content

Commit

Permalink
Merge pull request #264 from performant-software/feature/basira255_ap…
Browse files Browse the repository at this point in the history
…erture_facet

BASIRA #255 - Aperture facet
  • Loading branch information
dleadbetter authored Nov 29, 2024
2 parents 662ccd4 + 569f9c1 commit 1947235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/search/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def published
search_attribute :document_type, object: 'Document', group: 'Document Type', multiple: true, facet: true
search_attribute :orientation, object: 'Document', group: 'Orientation (spine)', multiple: true, facet: true
search_attribute :size, object: 'Document', group: 'Size', facet: true
search_attribute :aperture, object: 'Document', group: 'Aperture', facet: true
search_attribute :aperture, object: 'Document', group: 'Aperture', multiple: true, facet: true
search_attribute :binding_type, object: 'Document', group: 'Binding Type', multiple: true, facet: true
search_attribute :binding_color, object: 'Document', group: 'Color', form_field: 'binding_color', multiple: true, facet: true
search_attribute :number_sewing_supports, facet: true
Expand Down
2 changes: 1 addition & 1 deletion typesense/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
},
{
"name": "aperture_facet",
"type": "string",
"type": "string[]",
"facet": true,
"optional": true
},
Expand Down

0 comments on commit 1947235

Please sign in to comment.