0

I have views with exposed filter and display exposed filter as a block. I need something like views result summary on my twig template. How am I supposed to achieve this in Drupal way.

1 Answer 1

1

I hope you mean views results count. If that is what you are looking for then you get it by
{{ view.total_rows }}

1
  • thanks for reply. Yes I'm trying to show result count, but I want it show on my exposed block before it start some queries. It's like some guide to user about total data before they click the submit button. I already use{{ view.total_rows }} but it show nothing.
    – just-d
    Commented Sep 8, 2017 at 23:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.