Opened 19 years ago

Closed 18 years ago

#190 closed enhancement (fixed)

Beyond last page when filter is changed

Reported by: Jari Häkkinen Owned by: Martin Svensson
Priority: major Milestone: BASE 2.0
Component: web Version:
Keywords: Cc:

Description

If a filter is applied after browsing a couple of pages in a list (eg users), then the message returned from BASE is "No users on this page. Please select another page!". This message makes some sense since you can select page "1", and see your matches. It would be nice if the first page would be displayed by default as it seems that the program realizes that the results is somewhat unexpected.

Change History (8)

comment:1 by Nicklas Nordborg, 19 years ago

Type: defectenhancement

comment:2 by Jari Häkkinen, 19 years ago

Milestone: BASE 2.0+

comment:3 by Nicklas Nordborg, 19 years ago

A possible solution is: All properties for the building the query is set by net.sf.basedb.clients.web.Base.getAndSetCurrentContext()

This method could check all submitted filter values against the current (old) filter and if they have changed set the current page to 1.

This advantage of this solution is that we don't have to change the code for all list pages.

comment:4 by Nicklas Nordborg, 18 years ago

Milestone: BASE 2.0+BASE 2.0
Priority: minormajor
Summary: Listing/filteringBeyond last page when filter is changed

This ticket is now part of tickets #268, #269, #270, #271 and #272.

comment:5 by Nicklas Nordborg, 18 years ago

Owner: changed from Johan Enell to Nicklas Nordborg

comment:6 by Nicklas Nordborg, 18 years ago

Owner: changed from Nicklas Nordborg to Martin Svensson

comment:7 by Martin Svensson, 18 years ago

Status: newassigned

comment:8 by Martin Svensson, 18 years ago

Resolution: fixed
Status: assignedclosed

(In [2355]) Fixes #190 Beyond last page when filter is changed

Note: See TracTickets for help on using tickets.