Skip to content

Commit

Permalink
feat(entityconfig): add search options
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jun 23, 2022
1 parent ae994a1 commit b6d1d1c
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions inc/entityconfig.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,56 @@ public function rawSearchOptions() {
'massiveaction' => true,
];

$tab[] = [
'id' => '9',
'table' => self::getTable(),
'name' => __('Default Form list mode', 'formcreator'),
'field' => 'default_form_list_mode',
'datatype' => 'integer',
'nosearch' => true,
'massiveaction' => true,
];

$tab[] = [
'id' => '10',
'table' => self::getTable(),
'name' => __('Search', 'formcreator'),
'field' => 'is_search_visible',
'datatype' => 'integer',
'nosearch' => true,
'massiveaction' => true,
];

$tab[] = [
'id' => '11',
'table' => self::getTable(),
'name' => __('Counters dashboard', 'formcreator'),
'field' => 'is_dashboard_visible',
'datatype' => 'integer',
'nosearch' => true,
'massiveaction' => true,
];

$tab[] = [
'id' => '12',
'table' => self::getTable(),
'name' => __('Search issue', 'formcreator'),
'field' => 'is_search_issue_visible',
'datatype' => 'integer',
'nosearch' => true,
'massiveaction' => true,
];

$tab[] = [
'id' => '13',
'table' => self::getTable(),
'name' => __('Tile design', 'formcreator'),
'field' => 'tile_design',
'datatype' => 'integer',
'nosearch' => false,
'massiveaction' => true,
];

return $tab;
}

Expand Down

0 comments on commit b6d1d1c

Please sign in to comment.