Fix `GroupBy` function issues
authorTatsushi Demachi <tdemachi@gmail.com>
Tue, 11 Nov 2014 13:53:10 +0000 (22:53 +0900)
committerspf13 <steve.francia@gmail.com>
Fri, 14 Nov 2014 03:48:58 +0000 (22:48 -0500)
commit7e692544f06887a22146320b76c71df25aea3663
treeafdd3b4478f7013c1dd381fe73aadf239e04c459
parent91e03b9fbc8cf236d111607c2120f130ea07c772
Fix `GroupBy` function issues

Following issues are fixed

1. Can't access fields and methods specified in GroupBy call
2. PagesGroup doesn't contain Pages. It's always empty.
3. When GroupBy is called with Section key, it doesn't work as expected
hugolib/pageGroup.go
hugolib/pageGroup_test.go [new file with mode: 0644]