I want to add a new search filter item to the drop down of filters in the 
advanced search.  I have edited Discovery.xml as follows:

In the defaultConfiguration bean I added "<ref bean="searchFilterPublisher" 
/>" to the <list> set of the "searchFilters" <property> set

I added the same new bean reference to the homepageConfiguration bean.

I added the following to the list of Search filter configuration beans

     <bean id="searchFilterPublisher" 
class="org.dspace.discovery.configuration.DiscoverySearchFilter">
         <property name="indexFieldName" value="publisher"/>
         <property name="metadataFields">
             <list>
                 <value>dc.publisher</value>
             </list>
         </property>
     </bean>

I bounced Tomcat and the new item displays in the dropdown of search 
filters as: "xmlui.ArtifactBrowser.SimpleSearch.filter.publisher"

The execution of the filter seems to work just fine, just that the display 
text is messed up (as stated above).

What did I miss?

Regards,

Don.




-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to