mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 01:11:55 +02:00
made getSearchParams a private method
This commit is contained in:
parent
a377daaf8d
commit
e26565c947
1 changed files with 2 additions and 2 deletions
|
@ -1329,7 +1329,7 @@ class BaseTable {
|
|||
* @param {*} status - The status filter applied {ready, dns_needed, etc}
|
||||
* @param {string} portfolio - The portfolio id
|
||||
*/
|
||||
getSearchParams(page, sortBy, order, searchTerm, status, portfolio) {
|
||||
#getSearchParams(page, sortBy, order, searchTerm, status, portfolio) {
|
||||
let searchParams = new URLSearchParams(
|
||||
{
|
||||
"page": page,
|
||||
|
@ -1453,7 +1453,7 @@ class BaseTable {
|
|||
*/
|
||||
loadTable(page, sortBy = this.currentSortBy, order = this.currentOrder, scroll = this.scrollToTable, status = this.currentStatus, searchTerm =this.currentSearchTerm, portfolio = this.portfolioValue) {
|
||||
// --------- SEARCH
|
||||
let searchParams = this.getSearchParams(page, sortBy, order, searchTerm, status, portfolio);
|
||||
let searchParams = this.#getSearchParams(page, sortBy, order, searchTerm, status, portfolio);
|
||||
|
||||
// --------- FETCH DATA
|
||||
// fetch json of page of domains, given params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue