Skip to content

Commit

Permalink
[IMP] runbot: fetch fields on build instead of params
Browse files Browse the repository at this point in the history
The corresponding fields are stored on the build,
no need to read the params.
  • Loading branch information
Xavier-Do committed Feb 20, 2025
1 parent d0eaa85 commit 48cd3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbot/templates/utils.xml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
</t>
<t groups="runbot.group_runbot_admin">
<div class="dropdown-divider"/>
<a class="dropdown-item" t-attf-href="/runbot/build/search?config_id={{bu.params_id.config_id.id}}&amp;trigger_id={{bu.params_id.trigger_id.id}}&amp;version_id={{bu.params_id.version_id.id}}&amp;create_batch_id.bundle_id={{bu.params_id.create_batch_id.bundle_id.id}}&amp;description={{bu.description or ''}}">
<a class="dropdown-item" t-attf-href="/runbot/build/search?config_id={{bu.config_id.id}}&amp;trigger_id={{bu.trigger_id.id}}&amp;version_id={{bu.version_id.id}}&amp;create_batch_id.bundle_id={{bu.create_batch_id.bundle_id.id}}&amp;description={{bu.description or ''}}">
<i class="fa fa-search"/>
Find similar builds
</a>
Expand Down

0 comments on commit 48cd3a7

Please sign in to comment.