FIX: activar busqueda cuando tiene query definido

This commit is contained in:
Juan Pablo Vial
2024-01-23 20:18:02 -03:00
parent 5b5a0ed1f5
commit ac6c5b7d3d
2 changed files with 3 additions and 1 deletions

View File

@ -316,8 +316,10 @@
$('#tipo').dropdown().dropdown('set selected', '*')
@if (trim($post) !== '')
$("[name='query']").val('{!! $post !!}')
this.get().results()
@elseif (trim($query) !== '')
$("[name='query']").val('{!! $query !!}')
this.get().results()
@endif
@if (trim($tipo) !== '')
$('#tipo').dropdown('set selected', '{{$tipo}}')

View File

@ -25,7 +25,7 @@ services:
<<: *restart
env_file:
- ${APP_PATH:-.}/.env
- ${APP_PATH:-.}/.db.env
# - ${APP_PATH:-.}/.db.env
- ./.key.env
#- ${APP_PATH:-.}/.remote.env
volumes: