user:USER does not work for /search

Create issue
Issue #1938 resolved
Robert Jäschke created an issue

The request to /search/user:USER does not work, although it presumably worked some time ago. We get a "Internal Server Error: java.lang.RuntimeException: Can't handle request for param object: org.bibsonomy.database.params.BibTexParam@24933a52" exception. I think the cause is that order=RANK is set but GetResourcesForUser checks for nullOrEqual(param.getOrder(), Order.ADDED). This could be caused by the (not so recent anymore) change to return ranked results for fulltext search.

A fix could be to allow also the RANK order (though this could interfere with FolkRank) or to set it to ADDED when no query term is given.

Comments (2)

  1. Log in to comment