Skip to content

Custom ProxyQuery not showing filters #108

Answered by Kreyu
davidromani asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @davidromani!

First of, judging by the provided screenshot, it seems like you're using a base.html.twig theme, which is incredibly minimal and not meant to be used directly - working as a base for other Bootstrap 5 and Tabler themes. Please try using one of those themes, described in the documentation:

# config/packages/kreyu_data_table.yaml
kreyu_data_table:
  defaults:
    themes:
      - '@KreyuDataTable/themes/bootstrap_5.html.twig'

or in Twig:

{% data_table_theme batchAnalysisTable '@KreyuDataTable/themes/bootstrap_5.html.twig' %}

{{ data_table(batchAnalysisTable) }}

By the way, I don't think you need a custom proxy query, because you are still using Doctrine, therefore, you can…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by davidromani
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants