Browse Source

Merge pull request #623 from adam-vessey/7.x-ISLANDORA-1459

Introduce new flag to force use of iTQL queries, when applicable.
pull/634/head
William Panting 9 years ago
parent
commit
d789d8b48d
  1. 6
      includes/admin.form.inc
  2. 1
      islandora.install

6
includes/admin.form.inc

@ -80,6 +80,12 @@ function islandora_repository_admin(array $form, array &$form_state) {
'#description' => t('Larger sites may experience a notable performance improvement when disabled due to how breadcrumbs are constructed.'), '#description' => t('Larger sites may experience a notable performance improvement when disabled due to how breadcrumbs are constructed.'),
'#default_value' => variable_get('islandora_render_drupal_breadcrumbs', TRUE), '#default_value' => variable_get('islandora_render_drupal_breadcrumbs', TRUE),
), ),
'islandora_risearch_use_itql_when_necessary' => array(
'#type' => 'checkbox',
'#title' => t('Use iTQL for particular queries'),
'#description' => t('Sparql is the preferred language for querying the resource index; however, some features in the implementation of Sparql in Mulgara may not work properly. If you are using the default triple store with Fedora this should be left on to maintain legacy behaviour.'),
'#default_value' => variable_get('islandora_risearch_use_itql_when_necessary', TRUE),
),
), ),
'islandora_namespace' => array( 'islandora_namespace' => array(
'#type' => 'fieldset', '#type' => 'fieldset',

1
islandora.install

@ -54,6 +54,7 @@ function islandora_uninstall() {
'islandora_render_drupal_breadcrumbs', 'islandora_render_drupal_breadcrumbs',
'islandora_namespace_restriction_enforced', 'islandora_namespace_restriction_enforced',
'islandora_pids_allowed', 'islandora_pids_allowed',
'islandora_risearch_use_itql_when_necessary',
); );
array_walk($variables, 'variable_del'); array_walk($variables, 'variable_del');
} }

Loading…
Cancel
Save