Skip to content

XD-1012 $relatedQuery (also XD-1013)#7

Open
FaizuddinEverest wants to merge 6 commits into
masterfrom
XD-1012
Open

XD-1012 $relatedQuery (also XD-1013)#7
FaizuddinEverest wants to merge 6 commits into
masterfrom
XD-1012

Conversation

@FaizuddinEverest
Copy link
Copy Markdown

No description provided.

@FaizuddinEverest FaizuddinEverest changed the title XD-1012 $relatedQuery XD-1012 $relatedQuery (also XD-1013) Apr 2, 2020
Comment thread lib/index.js

if (filters.$select) {
q.select(...filters.$select.concat(`${this.Model.tableName}.${this.id}`));
const items = filters.$select.concat(`${this.Model.tableName}.${this.id}`);
Copy link
Copy Markdown
Author

@FaizuddinEverest FaizuddinEverest Apr 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is from the upstream.
feathersjs-ecosystem@dd854e1

Comment thread lib/index.js Outdated
if (filters.$sort) {
Object.keys(filters.$sort).forEach(key => {
q.orderBy(key, filters.$sort[key] === 1 ? 'asc' : 'desc');
Object.keys(filters.$sort).forEach(item => {
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the upstream.
feathersjs-ecosystem@dd854e1

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