Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/acdh-oeaw/arche-gui
Browse files Browse the repository at this point in the history
  • Loading branch information
nczirjak-acdh committed May 31, 2023
2 parents b740ccf + e722c3f commit 72ecf72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions src/Controller/SmartSearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
*/
class SmartSearchController extends \Drupal\acdh_repo_gui\Controller\ArcheBaseController
{

public function display() {

public function display()
{
return [
'#theme' => 'arche-smart-search-view',
'#data' => NULL,
'#data' => null,
'#attached' => [
'library' => [
'acdh_repo_gui/smart-search-style',
Expand All @@ -26,6 +25,4 @@ public function display() {
'#cache' => ['max-age' => 0]
];
}

}

4 changes: 2 additions & 2 deletions src/Plugin/Block/SmartSearchBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public function build()

return [
'#theme' => 'arche-smart-search-view',
'#data' => NULL,
'#properties' => NULL,
'#data' => null,
'#properties' => null,
'#attached' => [
'library' => [
'acdh_repo_gui/smart-search-style',
Expand Down

0 comments on commit 72ecf72

Please sign in to comment.