Skip to content

Commit ecaaa3f

Browse files
committed
feat(form_answer): add search option
closes: #1220 Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 0583a5f commit ecaaa3f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

inc/form_answer.class.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,16 @@ public function rawSearchOptions() {
228228
'massiveaction' => false
229229
];
230230

231+
$tab[] = [
232+
'id' => '9',
233+
'table' => PluginFormcreatorForm::getTable(),
234+
'field' => 'id',
235+
'name' => __('ID'),
236+
'searchtype' => 'contains',
237+
'datatype' => 'integer',
238+
'massiveaction' => false,
239+
];
240+
231241
if ($display_for_form) {
232242
$optindex = self::SOPTION_ANSWER;
233243
$question = new PluginFormcreatorQuestion;

0 commit comments

Comments
 (0)