3665: Add default sorting to registrar tables (#3771)

* Add default sorting to tables
This commit is contained in:
Erin Song 2025-05-06 09:29:10 -07:00 committed by GitHub
parent f5163c68db
commit 80e23c2827
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,8 @@ export class DomainRequestsTable extends BaseTable {
constructor() {
super('domain-request');
this.displayName = "domain request";
this.currentSortBy = 'last_submitted_date';
this.currentOrder = 'desc';
}
getBaseUrl() {

View file

@ -5,6 +5,7 @@ export class DomainsTable extends BaseTable {
constructor() {
super('domain');
this.currentSortBy = 'name';
}
getBaseUrl() {
return document.getElementById("get_domains_json_url");

View file

@ -6,6 +6,7 @@ export class MembersTable extends BaseTable {
constructor() {
super('member');
this.currentSortBy = 'member';
}
getBaseUrl() {