Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@vonagam
Copy link
Member

@vonagam vonagam commented Nov 21, 2021

After last merged PR looked into sort.ts and saw some things that can be cleaned up. Did so.

Also in select function there was push() into params.query.$select if they were present and otherFields provided. Should be concated into new array instead.

@daffl
Copy link
Member

daffl commented Nov 26, 2021

Great call. I copied the sorting from NeDB a while ago (this is also why it doesn't have that many tests) and this is definitely nicee. Using the exports. variable probably only still worked by accident.

@daffl daffl merged commit c3ec8a4 into feathersjs:dove Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.