From 60e0e899bc0a203bbc1439e1afcff3e8d4c6fcaf Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 26 Oct 2023 02:35:33 +0100 Subject: [PATCH] Added show_in_requestable_list to factory Signed-off-by: snipe --- database/factories/CustomFieldFactory.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/factories/CustomFieldFactory.php b/database/factories/CustomFieldFactory.php index 2dfa07d61a..937c66fb0b 100644 --- a/database/factories/CustomFieldFactory.php +++ b/database/factories/CustomFieldFactory.php @@ -26,6 +26,7 @@ class CustomFieldFactory extends Factory 'format' => '', 'element' => 'text', 'auto_add_to_fieldsets' => '0', + 'show_in_requestable_list' => '0', ]; } @@ -66,6 +67,7 @@ class CustomFieldFactory extends Factory return [ 'name' => 'CPU', 'help_text' => 'The speed of the processor on this device.', + 'show_in_requestable_list' => '1', ]; }); }