Hallo,
in order to change the advanced search you must
1 Edit [dspace-source]/config/dspace.cfg
2 Set/Change a search index
search.index.1 = author:dc.contributor.*
search.index.2 = affiliation:myschema.creator.affiliation
...
search.index.[number] =
[name]:[metadataschema].[element].[qualifier]
3 It might be necessary to change
[dspace-source]/jsp/local/search/advanced.jsp In order to use
new/changed indices in the advanced search, e.g.:
<select name="field1" id="tfield1">
<option value="affiliation" <%= field1.equals("affiliation") ?
"selected=<fmt:message key="jsp.search.advanced.type.affiliation"/>
</option>
</select>
You must perform this change for field2 and field3.
4 Please check that the tags needed are in
[dspace-source]/config/language-packs/Messages.properties|, e.g.:
jsp.search.advanced.type.affiliation
Then you must rebuild, redeploy and reindex DSpace
hope that helps
Claudia
P. S. The example above has been taken from a customization guide for
DSpace 1.4.1 see https://eldorado.uni-dortmund.de/handle/2003/23572
>
> Hi,
>
> Could somebody explain to me how the advanced search works.
>
> I would like to add one more drop down for date of publication(for ex:
> 2000 to 2007)
>
> Could you somebody tell me how can i do this.
>
> Thanks,
> Sree
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech