I have many paragraphs on my Drupal site and I'm facing problems searching through them. Could you please add search functionality to this module?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3425503-2.patch | 4.26 KB | cmarrufo |
Issue fork paragraphs-3425503
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
cmarrufo commentedHi @vishal-yaduvanshi
I have had the same problem and I think it would be a good idea to have a paragraphs type finder so I have made a patch that I think you could use.
Comment #3
vishal-ydv commentedhey @cmarrufo
thank you for your response, this functionality is very useful for me and the community of Drupal.
Comment #4
vishal-ydv commentedComment #5
berdirLooks intersting, but all non-trivial contributions must be merge requests now. A test would be great as well, but I can live without for non-critical functionality.
Comment #6
berdirif we stick with a server-side implementation then this should override the getEntityListQuery() method, so we don't need to query and list twice.
would it make sense to default the focus on this field, then you can visit and type immediately.
I'm also wondering if this should be a client-side functionality, similar to how \Drupal\views_ui\ViewListBuilder::render does it. That would require no reloads. would require to disable the pager, like views does.
Comment #7
cmarrufo commentedHi @berdir,
I've uploaded an MR adding the filtering functionality like Views does. However, I haven't added any tests, although if it's strictly necessary, I could add them.
Thanks.
Comment #9
cmarrufo commentedI forgot to add the template in paragraphs_theme(), sorry.