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

Store index for search conditions #6

Closed
dstillman opened this issue Feb 27, 2019 · 2 comments
Closed

Store index for search conditions #6

dstillman opened this issue Feb 27, 2019 · 2 comments

Comments

@dstillman
Copy link
Member

Search conditions have a fixed order that needs to be maintained on edit. Unless I'm just missing it in Realm Browser, it doesn't seem like an order is currently being stored.

@dstillman
Copy link
Member Author

I'm not sure the logic here is right — and from a quick test, it looks like a condition that exists as both the first condition in one search and the second condition in another is ending up linked to two searches with sortId 0. I'm not seeing any conditions created more than once, even if they should have different sort ids in different searches.

@michalrentka
Copy link
Contributor

you're right, I didn't realise the relationship between searches and conditions, it should be alright now

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

No branches or pull requests

2 participants