DependencyTrack / DependencyTrack/frontend

Table selections are lost when switching pages

Open
#1,550 0 comments 1 reaction 1 assignee Claimed by @nscuro View on GitHub
defect p2 size/S
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

Selection of table elements is lost when switching pages.

Note, this also affects DT v4 and should be backported.

### Steps to Reproduce

1. Navigate to Administration -> Access Management -> Managed Users
2. Click (+) on the Permissions list
3. Select a permission on the first page of the table
4. Switch to the second page of the table and select a permission from there
5. Switch back to the first page
6. Observe the first selection to be lost

### Expected Behavior

Selections should not be lost when switching pages in a table.

Bootstrap Table has the `maintainMetaData` option to address this: https://examples.bootstrap-table.com/#options/maintain-meta-data.html

### Hyades Version

0.6.0-SNAPSHOT

### Repository Type

Hyades frontend

### Browser

N/A

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/hyades/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/hyades/issues) for whether this defect was already reported

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.