Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Dukart <jordan@discoverygarden.ca>
  • Loading branch information
adam-vessey and jordandukart authored Jul 28, 2023
1 parent 09b5191 commit 11f9fb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function preQuery(PreQueryEvent $event) : void {
$highlight_fields[$field] = TRUE;
}
}

unset($info);
$sapi_query->setOption('islandora_hocr_properties', $highlight_props);
$sapi_query->setOption('islandora_hocr_fields', $highlight_fields);

Expand Down
2 changes: 1 addition & 1 deletion src/Plugin/search_api/processor/HOCRField.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* hidden = true,
* )
*/
class HOCRField extends ProcessorPluginBase implements ContainerFactoryPluginInterface {
class HOCRField extends ProcessorPluginBase {

use PluginFormTrait;

Expand Down

0 comments on commit 11f9fb1

Please sign in to comment.