osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] brooklyn-ui pull request #71: allow palette footer to be customised


Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/brooklyn-ui/pull/71#discussion_r218076598
  
    --- Diff: ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.template.html ---
    @@ -61,7 +61,7 @@
                 <!-- here and below, col-xs-3 or -4 or -2 all work giving different densities;
                      this could be configurable ("compressed"=xs-2 w no labels, "normal"=xs-3, "big"=xs-4) -->
                 <div class="col-xs-3 catalog-palette-item"
    -                    ng-repeat="item in searchedItems = (filterPaletteItems(items) | catalogSelectorSearch:search | catalogSelectorSort:family) | orderBy:state.currentOrder | limitTo:pagination.itemsPerPage:(pagination.page-1)*pagination.itemsPerPage track by (item.containingBundle + ':' + item.symbolicName + ':' + item.version)"
    +                    ng-repeat="item in searchedItems = (filterPaletteItems(items | catalogSelectorSearch:search) | catalogSelectorSort:family) | orderBy:state.currentOrder | limitTo:pagination.itemsPerPage:(pagination.page-1)*pagination.itemsPerPage track by (item.containingBundle + ':' + item.symbolicName + ':' + item.version)"
    --- End diff --
    
    Not sure I follow how `filterPaletteItems` is being used here. Can you give a very brief description, for my benefit please?


---