Files
hugo/tpl
Bjørn Erik Pedersen 8d898ad667 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
2019-06-09 16:54:36 +02:00
..
2018-12-27 10:08:44 +01:00
2018-11-30 08:56:30 +01:00
2018-11-30 08:56:30 +01:00
2018-11-30 08:56:30 +01:00
2018-11-30 08:56:30 +01:00
2018-11-30 08:56:30 +01:00
2018-11-09 08:54:08 +01:00
2018-11-30 08:56:30 +01:00
2019-03-24 16:14:51 +01:00
2018-11-30 08:56:30 +01:00
2018-11-30 08:56:30 +01:00
2018-11-30 08:56:30 +01:00
2018-11-30 08:56:30 +01:00
2019-05-26 19:24:45 +02:00
2018-11-30 08:56:30 +01:00