Search results should be capped.

Registered by Thomas Ingham

Presently any channel search returns all results within the default time window of the last month of activity. The system should instead first query for the count of records to be returned and subtract 25% of results to reach a maximum number of 800 rows. While not an exact science, this results in an average of about 120k of text which seems manageable by most javascript engines. If we find that it's still timing out we can kick the result set down a bit. Methods to edit:

Brutus::SearchResults

Variables to modulate:

lower - The least date to begin returning results from (this will change based on the # of results)

Ensure that the smarty wrapper assignment for the lower date is updated appropriately so that when the user hits the previous /next arrow the date is correctly modified by the input value.

Blueprint information

Status:
Not started
Approver:
Thomas Ingham
Priority:
Undefined
Drafter:
Thomas Ingham
Direction:
Needs approval
Assignee:
Mark Widgren
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
milestone icon 0.1

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.