From dc78433881b794d049764fdc2909615111982a00 Mon Sep 17 00:00:00 2001 From: Jason Crome Date: Wed, 20 Mar 2024 10:49:14 -0400 Subject: [PATCH] Submit form when catalog changes on asset simple search page The OnChange didn't work as it was overridden in /Asset/Elements/SelectCatalog. Switching to AutoSubmit to be consistent with asset create page. --- share/html/Asset/Elements/AssetSearchBasics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/html/Asset/Elements/AssetSearchBasics b/share/html/Asset/Elements/AssetSearchBasics index a6d3b690794..bd77bfd7bf0 100644 --- a/share/html/Asset/Elements/AssetSearchBasics +++ b/share/html/Asset/Elements/AssetSearchBasics @@ -50,7 +50,7 @@
<&| /Elements/LabeledValue, Label => loc('Catalog') &> <& /Asset/Elements/SelectCatalog, Name => 'Catalog', CheckRight => "ShowCatalog", - Default => $ARGS{'Catalog'}, OnChange => "jQuery('#AssetSearch').submit()" + Default => $ARGS{'Catalog'}, AutoSubmit => 1, &>