manager: fix exception when searching for a dossier
Text summary is a generated accessor, and not a true DB column – so we should tell Administrate not to use it in a search query.
This commit is contained in:
parent
1348f81f31
commit
5c6fa992f8
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class DossierDashboard < Administrate::BaseDashboard
|
|||
id: Field::Number,
|
||||
procedure: Field::HasOne,
|
||||
state: Field::String,
|
||||
text_summary: Field::String,
|
||||
text_summary: Field::String.with_options(searchable: false),
|
||||
created_at: Field::DateTime,
|
||||
updated_at: Field::DateTime,
|
||||
types_de_champ: TypesDeChampCollectionField,
|
||||
|
|
Loading…
Add table
Reference in a new issue