Users screen: add sorting and filtering

Bug #579678 reported by Adam P
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
psiphon
Fix Committed
Low
Robert Vasilev

Bug Description

NOTE: THIS ITEM NEEDS FURTHER SPECIFICATION BASED ON ADMIN INPUT

Add ability to sort and filter users on the Users list page (users.php). Currently there is no such functionality -- just an unwieldy flat list of users.
Also, display the total number of users, and the number of users matching the current filter.
Also, display users in pages (of 100, configurable in config.php), instead of trying to load and display all at once.
Filter criteria: user types, others?.
Sort criteria: primary sort by column only.

Related branches

Adam P (adam+)
visibility: private → public
tags: added: category2
removed: category1
Revision history for this message
Adam P (adam+) wrote :

Possibly also default to no users listed -- currently it's slow to show the screen.

Adam P (adam+)
tags: added: category2.1
Revision history for this message
Adam Kruger (adam-kruger) wrote :

Display users in pages, instead of trying to load and display all at once

description: updated
description: updated
Changed in psiphon:
importance: Medium → Low
tags: added: sprint3
Changed in psiphon:
status: Confirmed → New
Robert Vasilev (vasilev)
Changed in psiphon:
assignee: nobody → Robert Vasilev (vasilev)
status: New → In Progress
Revision history for this message
Robert Vasilev (vasilev) wrote :

Hello, Psiphon Inc .
Is here intends for implementing user filtering ?
Can we use AJAX or another JavaScript technology ?
Or it is intended to implement JavaScript-free solution ?

Revision history for this message
Robert Vasilev (vasilev) wrote :

Completely JavaScript-free filtering solution has been implemented.

Revision history for this message
Robert Vasilev (vasilev) wrote :

1. Implemented paging in users.php (inspired by reports.php).
2. Implemented column sorting in users.php (inspired by tickets.php).
3. Implemented filtering by user class.

Changed in psiphon:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.