Skip to content

Commit 0cb8cbc

Browse files
authored
refactor(asset_category): mark hidden field to be ES indexable (#298)
1 parent 3ced8f9 commit 0cb8cbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/placeos-models/asset_category.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module PlaceOS::Model
1010
# i.e. a tablet
1111
attribute name : String, es_subfield: "keyword"
1212
attribute description : String?
13-
attribute hidden : Bool = false
13+
attribute hidden : Bool = false, es_subfield: "keyword"
1414

1515
belongs_to AssetCategory, foreign_key: "parent_category_id", association_name: "parent_category"
1616

0 commit comments

Comments
 (0)