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

make filter docs use fluent syntax by default #492

Merged
merged 4 commits into from
Aug 14, 2023

Conversation

tabacitu
Copy link
Member

@tabacitu tabacitu commented Aug 8, 2023

I've spent quite a bit of time rewriting this page, so that:

  • it uses the fluent syntax
  • it is simpler to read and understand

I need help TESTING the docs here. I need someone to use the code I provided in an app, and make sure it's working they're all working expected.

@karandatwani92 can you help with that please?

--

Addresses a small part of #450

6.x/crud-filters.md Outdated Show resolved Hide resolved
6.x/crud-filters.md Outdated Show resolved Hide resolved
CRUD::filter('active')
->type('simple')
->whenActive(function ($value) {
$this->crud->addClause('where', 'active', '1');
Copy link
Contributor

@karandatwani92 karandatwani92 Aug 10, 2023

Choose a reason for hiding this comment

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

Search $this->crud->addClause & Replace with CRUD::addClause in whole document

Copy link
Contributor

@karandatwani92 karandatwani92 Aug 11, 2023

Choose a reason for hiding this comment

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

Search $this->crud->addClause & Replace with CRUD::addClause in whole document

@tabacitu It's still there 21 occurrences. NOT RESOLVED

6.x/crud-filters.md Outdated Show resolved Hide resolved
Co-authored-by: Pedro Martins <pxpm88@gmail.com>
6.x/crud-filters.md Outdated Show resolved Hide resolved
@tabacitu tabacitu merged commit bb33e3e into master Aug 14, 2023
1 check passed
@tabacitu tabacitu deleted the rewritten-crud-filters-with-fluent-syntax branch August 14, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants