@ -1,6 +1,6 @@
{
"name": "@site-o-mat/core",
"version": "0.5.1",
"version": "0.5.2",
"build": "webpack",
"author": "Björn Hase <me@herr-hase.wtf>",
"main": "index.js",
@ -60,9 +60,9 @@ class Pages {
this._findFiles(this._dirPath, options)
//
// orderBy
if (options.orderBy && options.orderBy.length > 0) {
this.results = orderBy(options.orderBy, this._results)
this._results = orderBy(options.orderBy, this._results)
}
if (options.limit || options.offset) {