Skip to content

Commit

Permalink
made getSearchParams a private method
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-kennedy-ecs committed Oct 31, 2024
1 parent a377daa commit e26565c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registrar/assets/js/get-gov.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e26565c

Please sign in to comment.