Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ CUSTOM_EXECUTORS=false
CACHE_SETTING_DRIVER=cache_settings
CACHE_SETTING_PREFIX=settings:
AI_ENABLE_RAG_COLLECTIONS=false
HIDE_REQUESTS_SEARCH_BAR=false

SCRIPT_MICROSERVICE_ENABLED=true
SCRIPT_MICROSERVICE_BASE_URL=https://localhost:8010
Expand Down
4 changes: 4 additions & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,8 @@
'claim_timeout_minutes' => env('SCHEDULER_CLAIM_TIMEOUT_MINUTES', 5),
'bpmn_timer_overlap_minutes' => env('SCHEDULER_BPMN_TIMER_OVERLAP_MINUTES', 5),
],

// When true, hides the Requests page search bar and the filter chips listed under it.
// Table column filters remain available.
'hide_requests_search_bar' => filter_var(env('HIDE_REQUESTS_SEARCH_BAR', false), FILTER_VALIDATE_BOOLEAN),
];
2 changes: 2 additions & 0 deletions resources/views/requests/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function() use ($title) { return [__($title), null]; }
<div class="tab-pane show active" id="inbox" role="tabpanel" aria-labelledby="inbox-tab">

<div class="card card-body requests-list-body">
@unless(config('app.hide_requests_search_bar'))
<div id="search-bar" class="search advanced-search mb-2">
<div class="d-flex">
<div class="flex-grow-1">
Expand Down Expand Up @@ -105,6 +106,7 @@ class="ml-md-2"
</div>
</div>
</div>
@endunless
<requests-listing
ref="requestList"
:filter="filter"
Expand Down
Loading