Skip to content

Commit 1f39025

Browse files
committed
Minor query contents improvements
1 parent e5a69de commit 1f39025

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Darryldecode/Backend/Base/Registrar/Registrar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Registrar {
1313
/**
1414
* the laravel backend version
1515
*/
16-
const VERSION = '1.0.9';
16+
const VERSION = '1.0.11';
1717
const VERSION_NAME = 'Alpha';
1818

1919
/**

src/Darryldecode/Backend/Components/ContentBuilder/Commands/QueryContentsCommand.php

+3
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ protected function query($contentType, $content, $config)
262262
}
263263
}
264264

265+
// sort order
266+
$q->orderBy($this->sortBy, $this->sortOrder);
267+
265268
// decide whether request wants paginated version or not
266269
if( $this->paginated )
267270
{

0 commit comments

Comments
 (0)