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

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

  • 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. – mbahlol Sep 8 '17 at 23:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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