diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-05-27 22:57:57 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-06-09 16:54:36 +0200 |
commit | 8d898ad6672e0ccb62c5a29b6fccab24d980f104 (patch) | |
tree | cc937519b8b2008ff7311ab6af6b9685c4756f62 /.github/calibre | |
parent | fad183c4ae55069be9246e64ab1c8b2f43d08d06 (diff) |
tpl/collections: Unwrap any interface value in sort and where
Hugo `0.55.0` introduced some new interface types for `Page` etc.
This worked great in general, but there were cases where this would fail in `where` and `sort`.
One such example would be sorting by `MenuItem.Page.Date` where `Page` on `MenuItem` was a small subset of the bigger `page.Page` interface.
This commit fixes that by unwrapping such interface values.
Fixes #5989
Diffstat (limited to '.github/calibre')
0 files changed, 0 insertions, 0 deletions