You are here: Foswiki>Tasks Web>Item10806 (06 Jan 2015, GeorgeClark)Edit Attach

Item10806: Search results counter broken with paging

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: minor
Applies To: Engine
Component: SEARCH
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: GeorgeClark
By lack of a real results counter, Pattern Skin had implemented a javascript driven counter that counts the number of occurrences of an HTML element on the page. With paging this no longer works, because the elements are scattered across pages.

I wonder, we sure must know now the number of hits, otherwise we cannot show the page count. So the javascript implementation should be superseded with the superior backend driven counter.

-- ArthurClemens - 28 May 2011

While technically this is a feature shown in Pattern Skin, the total result count (not count per web) should be done by core.

So I have set AppliesTo to Engine again.

-- ArthurClemens - 29 May 2011

I'm not sure it's a bug. The old counter showed the number of results on the page, which happened to be the complete results count. It still shows the number displayed on the page, and would be accurate if the pager is disabled.

 

ItemTemplate edit

Summary Search results counter broken with paging
ReportedBy ArthurClemens
Codebase trunk
SVN Range
AppliesTo Engine
Component SEARCH
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r5 - 06 Jan 2015, GeorgeClark
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