From 09c18e31fac35538f3cf7517123c15329c911c5b Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Fri, 6 Jul 2012 15:41:53 -0300 Subject: [PATCH] fix for ISLANDORA-654 default collection query --- CollectionClass.inc | 4 +--- xsl/sparql_to_html.xsl | 14 ++------------ 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/CollectionClass.inc b/CollectionClass.inc index e50ca224..bd44bbe8 100644 --- a/CollectionClass.inc +++ b/CollectionClass.inc @@ -54,13 +54,11 @@ class CollectionClass { } protected static function getDefaultCollectionQuery($pid) { - return 'select $object $title $content from <#ri> + return 'select $object $title from <#ri> where ($object $title - and $object $content and ($object or $object ) and $object ) - minus $content order by $title'; } diff --git a/xsl/sparql_to_html.xsl b/xsl/sparql_to_html.xsl index 79cc438e..1b5872b8 100644 --- a/xsl/sparql_to_html.xsl +++ b/xsl/sparql_to_html.xsl @@ -90,8 +90,6 @@ - - @@ -103,17 +101,9 @@ - - + - - - - - - - +