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

Add key and key_slug filters #457

Merged
merged 3 commits into from Sep 26, 2016

Conversation

Snugug
Copy link
Member

@Snugug Snugug commented Sep 26, 2016

{{short description}}


Resolves #407

DCO 1.1 Signed-off-by: Sam Richard <sam@snug.ug>

@@ -63,7 +63,22 @@ const types = app => {
const all = query => {
const organize = utils.organize(query);

return database('live').select('*').orderBy(organize.sort.by, organize.sort.dir).offset(organize.page.offset).limit(organize.page.limit).then(rows => {
console.log(query);
Copy link
Contributor

Choose a reason for hiding this comment

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

@Snugug dude

Copy link
Member Author

Choose a reason for hiding this comment

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

Already fixed

@scottnath scottnath merged commit 1ac0fe1 into punchcard-cms:master Sep 26, 2016
@Snugug Snugug deleted the feature/api-filtering branch September 26, 2016 20:52
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.

None yet

2 participants