Profile list: How to display all users

Question

I would like to display a table list of data for all users so staff can easily see name, email, phone, etc. I can use the “Profile List” macro, but the problem I run into is the filter criteria requires me to put something there and I cannot leave it blank to get the full list. I tried using an “*” to get everything, but that doesn’t work either.  How do I get a table list of all staff?

Solution

What you need here is a range query, specifically

[a TO zzzzzzzz]

The number of "z" might be confusing. This is necessary to ensure that names which start with a z are found too. For good measure, you can add some more z for long names.

For further help on the Lucene query syntax, check out this tutorial: http://www.lucenetutorial.com/lucene-query-syntax.html