Search service returns incorrect limit in some cases

Steps to reproduce

http://testallinone.usask.ca:8080/search/series.xml?limit=20
will return
[…]
<search-results xmlns="http://search.opencastproject.org" xmlns:ns2="http://mediapackage.opencastproject.org" searchTime="1" total="2" limit="2" offset="0">
[…]

Obviously, the limit was set to 20 and not to 2. This always happens if less then limit objects are in the result set. But clearly less results should not effect the limit of possible results which could have been returned if enough data were available.

Status

Assignee

Unassigned

Reporter

Lars Kiesow

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Affects versions

1.4.0

Priority

Minor
Configure