Branch: refs/heads/20_node_count_macro
  Home:   https://github.com/OpenGuides/OpenGuides
  Commit: be2187c1adaaf0f1ee2d86b6530236dfd9450344
      
https://github.com/OpenGuides/OpenGuides/commit/be2187c1adaaf0f1ee2d86b6530236dfd9450344
  Author: bob walker <[email protected]>
  Date:   2013-07-08 (Mon, 08 Jul 2013)

  Changed paths:
    M Changes
    M lib/OpenGuides/Utils.pm
    M t/102_macros.t

  Log Message:
  -----------
  Add a macro which gives the number nodes in a category or locale.

@NODE_COUNT [[Category Pubs]] will return the number nodes in the Pubs category.
This fixes #20


  Commit: 09f91cf722d0c267a96c67a0ed077e1d4b9f63c8
      
https://github.com/OpenGuides/OpenGuides/commit/09f91cf722d0c267a96c67a0ed077e1d4b9f63c8
  Author: bob walker <[email protected]>
  Date:   2013-07-08 (Mon, 08 Jul 2013)

  Changed paths:
    M lib/OpenGuides/Utils.pm

  Log Message:
  -----------
  Dont need to sort if you're just counting.

Also refactor so that we just pass a number not an array.


Compare: 
https://github.com/OpenGuides/OpenGuides/compare/bcf40d47afc9...09f91cf722d0
_______________________________________________
openguides-commits mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/openguides-commits

Reply via email to