You are here: Foswiki>Tasks Web>Item11215 (17 Dec 2011, PaulHarvey)Edit Attach

Item11215: Search pager broken when filtering on date

Priority: Urgent
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: SEARCH
Reported By: ArthurClemens
Waiting For: PaulHarvey
Last Change By: PaulHarvey
Test topic: SiteChanges

The pager behaves erroneously, showing "Page 1 of 37 Next >" even when the returned set is only 3 items.

-- ArthurClemens - 29 Oct 2011

Re-opened to add a failing test. I am grateful for the fix, but PLEASE DON'T CLOSE THIS KIND OF BUG WITHOUT A TEST smile

I need a test in this case because I want to move the code around - sort criteria needs to be a part of the query from the start - trying to sort a resultSet post-hoc in MongoDBPlugin absolutely kills our site performance (imagine having to fetch 100MBs of data for ~50k topics, or even 220k topics in the case of SiteChanges - from the database server over the network just to get the first 25 hits sorted by date - we go from < 1s to fcgid timeout).

So, to re-cap, I would be happy to help with getting tests written for future changes like this smile

-- PaulHarvey - 28 Nov 2011

Continued at Item11364 so we can close Item11215 for 1.1.4.

-- PaulHarvey - 17 Dec 2011

ItemTemplate edit

Summary Search pager broken when filtering on date
ReportedBy ArthurClemens
Codebase 1.1.4, 1.1.4 RC2, 1.1.4 RC1, 1.1.4 beta2, 1.1.4 beta1, trunk
SVN Range
AppliesTo Engine
Component SEARCH
Priority Urgent
CurrentState Closed
WaitingFor PaulHarvey
Checkins distro:93837b7258aa distro:deac5edd2fc6
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r6 - 17 Dec 2011, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy