Skip to content

Commit 939cc23

Browse files
authored
Merge pull request #198 from FriendsOfREDAXO/copilot/fix-197
Fix: Live search now works across all categories instead of current category only
2 parents d51bdf3 + 81cc29d commit 939cc23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/media-live-search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function initQuickNavigationMediaLiveSearch() {
8787
.show();
8888

8989
// Parameter aus der aktuellen Seite holen
90-
var categoryId = $('#rex_file_category').val() || 0;
90+
var categoryId = 0; // Live-Suche immer über alle Kategorien hinweg
9191
var openerInputField = $('input[name="opener_input_field"]').val() || '';
9292
var types = $('input[name="args[types]"]').val() || '';
9393

0 commit comments

Comments
 (0)