Is there anyone who can tell how to do this thing in JSPUI also. I have 
Dspace3.0 jspui with discovery. I want to add filters only without sidebar 
facet. I acheived to add filter but it is not working. I added abstract 
(dc.description.abstract) filter but when i do filter on this field it returns 
nothing. I added this filter in <dspace>/config/spring/api/discovery.xml file. 
My abstract filter settings in discovery.xml file is as follows.

<!--The search filters which can be used on the discovery search page-->
        <property name="searchFilters">
            <list>
                <ref bean="searchFilterTitle" />
                <ref bean="searchFilterAuthor" />
                <ref bean="searchFilterSubject" />
                <ref bean="searchFilterIssued" />
                <ref bean="searchFilterAbstract" />
            </list>
        </property>

and, 

<!--Search filter configuration beans-->
    <bean id="searchFilterAbstract" 
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
        <property name="indexFieldName" value="abstract"/>
        <property name="metadataFields">
            <list>
                <value>dc.description.abstract</value>
            </list>
        </property>
    </bean>

I need urgent reply on it. I also want to know if it is mandatory to have 
sidebar facet of a field enable for respective filter option to work or one can 
create as many filter he wants without having sidebar facet.


--- On Tue, 1/22/13, helix84 <heli...@centrum.sk> wrote:

> From: helix84 <heli...@centrum.sk>
> Subject: Re: [Dspace-tech] How customize v 3.0 Discovery search filter 
> drop-down labels
> To: c...@umich.edu
> Cc: dspace-tech@lists.sourceforge.net
> Date: Tuesday, January 22, 2013, 2:22 PM
> Hi Charles,
> 
> sorry for the late response, I had to test it.
> 
> As you correctly found out, the string comes from
> xmlui.ArtifactBrowser.SimpleSearch.filter.dateIssued
> 
> The reason why it didn't show up immediately after you
> changed it in
> messages.xml and restarted Tomcat is that you have
> previously viewed
> that page and Cocoon (the framework XMLUI is built on)
> caches pages
> for you. So the old string from before you made the change
> was still
> there. At a later time (when you did a change to the
> underlying DRI by
> adding a filter) the cached version was updated and you
> started to see
> the new string.
> 
> To prevent this in the future, don't forget to clear your
> Cocoon cache:
> https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
> HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your
> skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by
> Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> 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
> 

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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