Browse Source

Islandora IIIF: Fix OCR term field initialization.

hocr_media_redux
Alexander O'Neill 1 year ago
parent
commit
07dc9864d0
  1. 1
      modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

1
modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

@ -168,6 +168,7 @@ class IIIFManifest extends StylePluginBase {
* {@inheritdoc}
*/
public function render() {
$this->structured_text_term = $this->utils->getTermForUri($this->options['structured_text_term_uri']);
$json = [];
$iiif_address = $this->iiifConfig->get('iiif_server');
if (!is_null($iiif_address) && !empty($iiif_address)) {

Loading…
Cancel
Save