@@ -20,8 +20,9 @@ class ConfigurationsController extends Controller
2020 public function index ()
2121 {
2222 $ configurations = Configuration::all ();
23- $ configurations_by_sections = ['init ' => [], 'features ' => [], 'email ' => [], 'tickets ' => [], 'perms ' => [], 'editor ' => [], 'other ' => []];
23+ $ configurations_by_sections = ['init ' => [], 'table ' => [], ' features ' => [], 'email ' => [], 'tickets ' => [], 'perms ' => [], 'editor ' => [], 'other ' => []];
2424 $ init_section = ['main_route ' , 'main_route_path ' , 'admin_route ' , 'admin_route_path ' , 'master_template ' , 'member_model_class ' , 'routes ' ];
25+ $ table_section = ['subject_content_column ' , 'list_text_max_length ' , 'check_last_update_seconds ' , 'length_menu ' , 'max_agent_buttons ' , 'calendar_month_filter ' ];
2526 $ features_section = ['departments_feature ' , 'departments_notices_feature ' , 'ticket_attachments_feature ' ];
2627 $ email_section = ['status_notification ' , 'comment_notification ' , 'queue_emails ' , 'assigned_notification ' ,
2728 'list_owner_notification ' , 'status_owner_notification ' ,
@@ -30,8 +31,8 @@ public function index()
3031 'email.color_body_bg ' , 'email.color_header_bg ' , 'email.color_content_bg ' , 'email.color_footer_bg ' ,
3132 'email.color_button_bg ' , 'email.account.name ' , 'email.account.mailbox ' , 'custom_recipients ' ];
3233 $ tickets_section = ['default_priority_id ' , 'default_status_id ' , 'default_close_status_id ' , 'default_reopen_status_id ' ,
33- 'subject_content_column ' , ' paginate_items ' , 'attachments_ticket_max_size ' , 'attachments_ticket_max_files_num ' , 'attachments_mimes ' ,
34- 'attachments_path ' , 'thumbnails_path ' , 'oldest_year ' , 'user_route ' , 'html_replacements ' , 'list_text_max_length ' , ' use_default_status_id ' , ' check_last_update_seconds ' ];
34+ 'paginate_items ' , 'attachments_ticket_max_size ' , 'attachments_ticket_max_files_num ' , 'attachments_mimes ' ,
35+ 'attachments_path ' , 'thumbnails_path ' , 'oldest_year ' , 'user_route ' , 'html_replacements ' , 'use_default_status_id ' ];
3536 $ perms_section = ['agent_restrict ' , 'close_ticket_perm ' , 'reopen_ticket_perm ' ];
3637 $ editor_section = ['editor_enabled ' , 'editor_html_highlighter ' , 'codemirror_theme ' ,
3738 'summernote_locale ' , 'summernote_options_json_file ' , 'summernote_options_user ' , 'purifier_config ' , ];
@@ -45,6 +46,9 @@ public function index()
4546 if (in_array ($ config_item ->slug , $ init_section )) {
4647 $ configurations_by_sections ['init ' ][] = $ config_item ;
4748
49+ } elseif (in_array ($ config_item ->slug , $ table_section )) {
50+ $ configurations_by_sections ['table ' ][] = $ config_item ;
51+
4852 } elseif (in_array ($ config_item ->slug , $ features_section )) {
4953 $ configurations_by_sections ['features ' ][] = $ config_item ;
5054
0 commit comments