Skip to content

Commit

Permalink
[FIX] Filtering on menu
Browse files Browse the repository at this point in the history
  • Loading branch information
jjscarafia committed Jan 15, 2016
1 parent 1f6cf18 commit 9da02ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbot_repository_visibility/runbot_repo_view.xml
Expand Up @@ -28,7 +28,7 @@
<!-- Show only visible repos on menu -->
<template id="inherits_branch_in_menu" inherit_id="runbot.inherits_branch_in_menu" name="Inherits Show top 5 visible branches in menu">
<xpath expr="//t[@t-foreach='repos[:5]']" position="attributes">
<attribute name="t-foreach">repos[:5].filtered('visible_on_website')</attribute>
<attribute name="t-foreach">repos.filtered('visible_on_website')[:5]</attribute>
</xpath>
</template>

Expand Down

0 comments on commit 9da02ea

Please sign in to comment.