Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row index is repeated if object is an element in the list more than once #896

Open
kraenhansen opened this issue Aug 15, 2018 · 0 comments
Labels

Comments

@kraenhansen
Copy link
Member

kraenhansen commented Aug 15, 2018

The index of an object is determined by asking the list what the index of the object is - if it's in the list twice, this will only return the first index.

whatever

This happens due to https://github.com/realm/realm-studio/blob/master/src/ui/RealmBrowser/Content/Table/index.tsx#L210.

Solving this might be a little tricky if we want to display the original index in the list while the user sorting in a column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants