update solr index
This commit is contained in:
parent
7c6654398d
commit
535a9363cc
18 changed files with 773 additions and 90 deletions
|
@ -32,11 +32,13 @@ class PagesController extends Controller
|
|||
$dataset->load('titles');
|
||||
$dataset->load('abstracts');
|
||||
|
||||
$authors = $dataset->authors()
|
||||
$authors = $dataset->persons()
|
||||
->wherePivot('role', 'author')
|
||||
->orderBy('link_documents_persons.sort_order', 'desc')
|
||||
->get();
|
||||
|
||||
$contributors = $dataset->contributors()
|
||||
$contributors = $dataset->persons()
|
||||
->wherePivot('role', 'contributor')
|
||||
->orderBy('link_documents_persons.sort_order', 'desc')
|
||||
->get();
|
||||
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue