diff --git a/includes/admin.form.inc b/includes/admin.form.inc index 5db13f73..9f64cb6d 100644 --- a/includes/admin.form.inc +++ b/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.'), '#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( '#type' => 'fieldset', diff --git a/islandora.install b/islandora.install index a2151767..075e81a2 100644 --- a/islandora.install +++ b/islandora.install @@ -54,6 +54,7 @@ function islandora_uninstall() { 'islandora_render_drupal_breadcrumbs', 'islandora_namespace_restriction_enforced', 'islandora_pids_allowed', + 'islandora_risearch_use_itql_when_necessary', ); array_walk($variables, 'variable_del'); }