|
|
@ -60,9 +60,9 @@ class Pages {
|
|
|
|
|
|
|
|
|
|
|
|
this._findFiles(this._dirPath, options)
|
|
|
|
this._findFiles(this._dirPath, options)
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// orderBy
|
|
|
|
if (options.orderBy && options.orderBy.length > 0) {
|
|
|
|
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) {
|
|
|
|
if (options.limit || options.offset) {
|
|
|
|