- map 'id' of dataset to 'publish_id'

This commit is contained in:
Arno Kaimbacher 2020-05-25 16:56:20 +02:00
parent d7cc8d74de
commit 19e2d7ea95
7 changed files with 18 additions and 16 deletions

View file

@ -50,7 +50,7 @@ class SitelinkController extends Controller
->whereYear('server_date_published', '>=', $from)
->whereYear('server_date_published', '<', $until);
$documents = $select
$documents = $select->orderBy('publish_id', 'asc')
->get();
//$this->years = Dataset::select(DB::raw('YEAR(server_date_modified) as server_date_modified'))