xmlui is an interface, not theme. I'll assume you're using the default
Mirage interface.

The generic solution (works regardless of theme used) is to comment out the
following "if" block and rebuild DSpace:

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/AbstractSearch.java#L375

The specific solution for dri2xhtml-alt based templates (including Mirage)
is to change this template:
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl#L38

to


    <xsl:template match="dri:list/dri:list" mode="dsoList" priority="7">
      <xsl:if test="@id !=
'aspect.discovery.SimpleSearch.list.comm-coll-result-list'">
        <xsl:apply-templates select="dri:head"/>
        <ul>
            <xsl:apply-templates select="*[not(name()='head')]" mode="dsoList"/>
        </ul>
      </xsl:if>
    </xsl:template>


In this case you have to modify that exact file in the dri2xhtml-alt,
overriding the template in your derived theme doesn't work for some reason
I didn't figure out (if you do that, you'll notice the formatting of item
list below is broken).

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to