Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ssmarco committed Sep 13, 2019
1 parent c98b909 commit 01e90e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Admins/SearchAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function init()
{
parent::init();

Requirements::css('firesphere/solr-search:client/dist/main.css');
//Requirements::css('firesphere/solr-search:client/dist/main.css');
}

public function getEditForm($id = null, $fields = null)
Expand Down
9 changes: 5 additions & 4 deletions src/Models/ElevatedItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ class ElevatedItem extends DataObject

private static $db = [
'Rank' => 'Int',
'Title' => 'Varchar(255)',
'ObjectClass' => 'Varchar(255)',
'ObjectID' => 'Int',
'SolrID' => 'Varchar(255)',
'Include' => 'Boolean(1)',
'Exclude' => 'Boolean(0)',
];

private static $has_one = [
'Record' => DataObject::class,
];

private static $belongs_many_many = [
'Keywords' => Elevation::class,
];

private static $summary_fields = ['Title', 'Rank', 'ObjectClass', 'SolrID', 'Include', 'Exclude'];
private static $summary_fields = ['ID', 'Rank', 'SolrID', 'Include', 'Exclude'];
}
1 change: 1 addition & 0 deletions src/Models/Elevation.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ class Elevation extends DataObject

private static $summary_fields = ['ID', 'Keyword'];
}

0 comments on commit 01e90e5

Please sign in to comment.