Added show_in_requestable_list to factory

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-26 02:35:33 +01:00
parent 6ebc01ca50
commit 60e0e899bc

View file

@ -26,6 +26,7 @@ class CustomFieldFactory extends Factory
'format' => '', 'format' => '',
'element' => 'text', 'element' => 'text',
'auto_add_to_fieldsets' => '0', 'auto_add_to_fieldsets' => '0',
'show_in_requestable_list' => '0',
]; ];
} }
@ -66,6 +67,7 @@ class CustomFieldFactory extends Factory
return [ return [
'name' => 'CPU', 'name' => 'CPU',
'help_text' => 'The speed of the processor on this device.', 'help_text' => 'The speed of the processor on this device.',
'show_in_requestable_list' => '1',
]; ];
}); });
} }