From be89f9d77f79377bf85bd4a31dc96a703a7384a5 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Thu, 8 Apr 2021 22:08:17 +0200 Subject: [PATCH] Add m2m to non sortable fields (#4855) * remove non existing fields * add m2m to non sortable fields --- app/src/layouts/tabular/tabular.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/layouts/tabular/tabular.vue b/app/src/layouts/tabular/tabular.vue index a359554f69..5f1a13d5f8 100644 --- a/app/src/layouts/tabular/tabular.vue +++ b/app/src/layouts/tabular/tabular.vue @@ -469,7 +469,7 @@ export default defineComponent({ field: field.field, }, sortable: - ['json', 'o2m', 'm2o', 'm2a', 'file', 'files', 'alias', 'presentation', 'translations'].includes( + ['json', 'o2m', 'm2o', 'm2m', 'm2a', 'file', 'files', 'alias', 'presentation', 'translations'].includes( field.type ) === false, }));