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

sort results on results page #141

Merged
merged 9 commits into from
Jun 7, 2017
Merged

sort results on results page #141

merged 9 commits into from
Jun 7, 2017

Conversation

MohamedOmarii
Copy link
Member

@MohamedOmarii MohamedOmarii commented Jun 6, 2017

related to #125

@Suuuuha Suuuuha changed the title Resultfunction sort results on resutl page Jun 6, 2017
@Suuuuha Suuuuha changed the title sort results on resutl page sort results on results page Jun 6, 2017
{'category': {$in: option.category}}
]}},
{$unwind: '$accessOptions'},
{$unwind: '$category'},
Copy link
Member

Choose a reason for hiding this comment

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

indentation

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

serviceQueries = convertFunctions.capitalise(serviceOption).split(',')
} else {
serviceQueries = ['Food', 'Sport', 'Education', 'Health', 'Municipal', 'Fashion', 'Construction', 'IT', 'Tourism']
}
// fake queries to use this data from mockData
Copy link
Member

Choose a reason for hiding this comment

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

delete this comment plz

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@MohamedOmarii MohamedOmarii requested a review from m4v15 June 6, 2017 14:45
@jbesraa jbesraa merged commit 102735f into master Jun 7, 2017
@jbesraa jbesraa deleted the resultfunction branch June 7, 2017 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants