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 ahgittin commented on a diff in the pull request:

    https://github.com/apache/brooklyn-ui/pull/71#discussion_r218080599
  
    --- 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 --
    
    yes, will add as comment
    
    `// filter by search word first, then pass to any third-party filters, so filters can adjust based on number of search resullts`


---