Use search text when clicking on find button of search window

Closes #13329
This commit is contained in:
Cédric Krier committed 2024-06-11 09:33:47 +02:00
1 parent 79901931fc
commit 8141bec786
1 file changed
+2 -1
+2 -1
View File
@@ -1000,7 +1000,8 @@
if (response_id == 'RESPONSE_OK') {
records = this.screen.current_view.selected_records;
} else if (response_id == 'RESPONSE_APPLY') {
this.screen.search_filter();
this.screen.search_filter(
this.screen.screen_container.get_text());
return;
} else if (response_id == 'RESPONSE_ACCEPT') {
var view_ids = jQuery.extend([], this.view_ids);