Opened 17 years ago

Closed 17 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 Changed 17 years ago by Nicklas Nordborg

Type: defectenhancement

comment:2 Changed 17 years ago by Jari Häkkinen

Milestone: BASE 2.0+

comment:3 Changed 17 years ago by Nicklas Nordborg

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 Changed 17 years ago by Nicklas Nordborg

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 Changed 17 years ago by Nicklas Nordborg

Owner: changed from Johan Enell to Nicklas Nordborg

comment:6 Changed 17 years ago by Nicklas Nordborg

Owner: changed from Nicklas Nordborg to Martin Svensson

comment:7 Changed 17 years ago by Martin Svensson

Status: newassigned

comment:8 Changed 17 years ago by Martin Svensson

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.