Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1124

When using contextual filters only, $where and $group_operator are missing.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Ready for Release
    • Affects Version/s: None
    • Fix Version/s: 7.x-1.4
    • Component/s: Solr Views
    • Labels:
      None

      Description

      If you create a view using contextual filters, but no basic filters, then islandora_solr_views_query::$where and islandora_solr_views_query::$group_operator are never initialized. Resulting in:

      Notice: Undefined property: islandora_solr_views_query::$where in islandora_solr_views_query->execute() (line 101 of /var/www/drupal/htdocs/sites/all/modules/islandora_solr_views/islandora_solr_views_query.inc).
      Notice: Undefined property: islandora_solr_views_query::$group_operator in islandora_solr_views_query->execute() (line 113 of /var/www/drupal/htdocs/sites/all/modules/islandora_solr_views/islandora_solr_views_query.inc).

      The view displays correctly with the contextual filters, however the errors are annoying.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rosiel Rosie Le Faive
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: