mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-09-19 20:23:39 +00:00
While sorting on data sources with missing fields, a panic can occur in pairList.Less if `Interface()` is called on a invalid `reflect.Value`. This commit detects an invalid Value and replacing it with a zero value for the comparison.