-
Notifications
You must be signed in to change notification settings - Fork 0
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
return all studies curated by a user #33
Comments
doh - already implemented with find_studies and ot:curatorName property |
Is this fix running anywhere? I'm testing |
My impression was that we were still using oti on tree+api. |
Drat. I was hoping to clean up the curator profile page with accurate study counts (added/curated/in-synthesis). |
Incidentally, it looks like this force-to-unique-list trick can have the unwanted(?) side effect of re-ordering the list of curator names. We depend on the first listed name to identify the user who first added the study. Is this information stored elsewhere, short of digging up GitHub versions and backtracking to the first entry? |
good catch that would definitely not be order preserving. I think the nexSON has a ot:curatorName field that is the unaltered list. So it may be OK that the index does not know the order. I think:
is the efficient way to be order preserving. |
Yes, not a major problem, but I was hoping to use this distinction in the curator-profile page, to show "added" vs. "curated" studies. (As an aside, feedback is welcome on how I'm describing these roles, and whether it's worth pointing out the distinction.) You can see this in the existing information about a curator's tree collections: |
And to clarify, I get this information by walking the response to |
Need this to complete profile pages.
The text was updated successfully, but these errors were encountered: