0

I am a member of the ILS development team for the central library of Bangladesh University of Engineering and Technology (BUET). There we have installed DSpace as institutional repository. We are using XMLUI. We have included a new search filter "Department" in the advanced search filter. So the items can be searched by department. In the advanced search page, three fields appear in the search panel. First one is for filter, second one is for criteria (dropdown list containing options of "contains", "Equals", etc.), and the third box is the input box having type "text". My question is, how can we add dropdown list in the input box. I mean, the existing input box is of "text" type. But we want a dropdown list containing the department names to appear in the input box when the "Department" filter is selected, so that we don't need to input "Computer Science" by typing, instead, we can select the dept. name from the dropdown list to make it more user friendly. However, for other filters, say "Author", existing look is alright.

4

1 回答 1

1

简短的回答是,你不能那样做。更长的答案是,您可能可以通过直接在主题 xslt 文件中查询 solr 来装配类似的东西(这样您就可以将部门列表存储在页面上隐藏的某个位置),然后编写自定义 JavaScript 来切换文本字段以进行放置-down 包含部门列表的框。

为部门添加一个方面可能更有帮助吗?然后人们可以通过点击侧边栏中的相应部门来限制他们的搜索。

于 2015-10-12T01:53:04.713 回答