mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
3665: Add default sorting to registrar tables (#3771)
* Add default sorting to tables
This commit is contained in:
parent
f5163c68db
commit
80e23c2827
3 changed files with 4 additions and 0 deletions
|
@ -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() {
|
||||
|
|
|
@ -5,6 +5,7 @@ export class DomainsTable extends BaseTable {
|
|||
|
||||
constructor() {
|
||||
super('domain');
|
||||
this.currentSortBy = 'name';
|
||||
}
|
||||
getBaseUrl() {
|
||||
return document.getElementById("get_domains_json_url");
|
||||
|
|
|
@ -6,6 +6,7 @@ export class MembersTable extends BaseTable {
|
|||
|
||||
constructor() {
|
||||
super('member');
|
||||
this.currentSortBy = 'member';
|
||||
}
|
||||
|
||||
getBaseUrl() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue