File tree Expand file tree Collapse file tree
frontend/src/app/components/dashboard/db-table-view Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ import { SelectionModel } from '@angular/cdk/collections';
4141import { TableRowService } from 'src/app/services/table-row.service' ;
4242import { TableStateService } from 'src/app/services/table-state.service' ;
4343import { formatFieldValue } from 'src/app/lib/format-field-value' ;
44+ import { getTableTypes } from 'src/app/lib/setup-table-row-structure' ;
4445import { merge } from 'rxjs' ;
4546import { normalizeTableName } from '../../../lib/normalize'
4647import { tap } from 'rxjs/operators' ;
47- import { getTableTypes } from 'src/app/lib/setup-table-row-structure' ;
4848
4949interface Column {
5050 title : string ,
@@ -163,9 +163,14 @@ export class DbTableViewComponent implements OnInit {
163163 tap ( ( ) => {
164164
165165 const filters = JsonURL . stringify ( this . activeFilters ) ;
166+ const saved_filter = this . route . snapshot . queryParams . saved_filter ;
167+ const dynamic_column = this . route . snapshot . queryParams . dynamic_column ;
168+
166169 this . router . navigate ( [ `/dashboard/${ this . connectionID } /${ this . name } ` ] , {
167170 queryParams : {
168171 filters,
172+ saved_filter,
173+ dynamic_column,
169174 sort_active : this . sort . active ,
170175 sort_direction : this . sort . direction . toUpperCase ( ) ,
171176 page_index : this . paginator . pageIndex ,
You can’t perform that action at this time.
0 commit comments