mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-07-11 14:34:36 +00:00
Application improvements
* Change favicon * Display account banned status on admin search * Pull in application version from Webpack * Add "Feedback" button in footer and github references * Fix faction icons to make them the same size * PaginatedList component now supports back * Tabbed navs support back * Hide Pagination when only one page * Improve admin table style and size
This commit is contained in:
parent
817796e181
commit
fa6e168ccc
23 changed files with 244 additions and 158 deletions
|
|
@ -350,7 +350,7 @@ export async function search(term, pagination) {
|
|||
const values = ['%'+term.toUpperCase()+'%', start_id, pagination.items_per_page];
|
||||
|
||||
try {
|
||||
const accounts = await pool.query('SELECT id, username, gm FROM accounts ' +
|
||||
const accounts = await pool.query('SELECT id, username, gm, inactive FROM accounts ' +
|
||||
'WHERE upper(username) LIKE $1 '+
|
||||
` ORDER BY username OFFSET $2 LIMIT $3`, values);
|
||||
const characters = await pool.query('SELECT id, name, account_id, faction_id FROM characters ' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue