Skip to content

Commit

Permalink
Submit form when catalog changes on asset simple search page
Browse files Browse the repository at this point in the history
The OnChange didn't work as it was overridden in
/Asset/Elements/SelectCatalog. Switching to AutoSubmit to be consistent with
asset create page.
  • Loading branch information
Jason Crome authored and sunnavy committed Mar 20, 2024
1 parent cf34cad commit dc78433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/html/Asset/Elements/AssetSearchBasics
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="col-6">
<&| /Elements/LabeledValue, Label => loc('Catalog') &>
<& /Asset/Elements/SelectCatalog, Name => 'Catalog', CheckRight => "ShowCatalog",
Default => $ARGS{'Catalog'}, OnChange => "jQuery('#AssetSearch').submit()"
Default => $ARGS{'Catalog'}, AutoSubmit => 1,
&>
</&>
</div>
Expand Down

0 comments on commit dc78433

Please sign in to comment.