The number of results in grouped and ungrouped listings


How to set the number of results in grouped and ungrouped listings

When working with easy page modules such as those on personal homepage or project overview, some of them show results from a filter and you may wonder how to set up the number of results displayed. The value can by set for various modules including:

  • CRM cases by filter
  • Projects from filter
  • Tasks from filter
  • Contacts from filter

Setting the number of results is easy and customizable for various conditions. You can customize the number of results directly in Basic attributes of the particular module as shown on the picture below.

It's important to note that the "Number of results" applies to ungrouped results only. If the results are grouped according to a specific parameter as shown the following picture, the value then relates to the number of groups, but it doesn't limit the number of results in each group. Some modules have predefined grouping by default (such as CRM cases, tasks), others don't (such as projects, contacts). So when adding ones of these modules, don't forget to check this out.

If grouping is turned off, the listing will look like the following example of CRM cases from filter. As you can note, the number of results is 10 according to what we set in Basic attributes.

Now, if we turn grouping on (for example by status), the number of results will translate into the number of groups displayed. Then, we need to set the number of results in each group. We can do this easily as well. Just go to More > Administration > Settings > General > Objects per page options. This value basically determines how many results of each group will be displayed on a single page. Since it's a global settings, it will not only affect modules, but any listings within Easy Redmine. If we set for example 3, then each page will contain 3 results per group and the number of pages will be equal to the total number of results per group divided by 3. Moreover, we can adjust the number of results per various pages - such as 3 results for first page, 5 results for second page, 7 results for third page etc. To do it, just fill in multiple values separated by comma like this.

After saving it, let's see how CRM cases by filter grouped by status will look like. As we can see on the picture below, there are 4 groups which is all right because there are just 4 statuses to be grouped by and the number of results (groups) is lower than 10 (the limit we set in the module). Each group contains 3 results on the first page which is also correct as it corresponds to our general settings: 3 results on the first page, 5 on the second one etc. Moreover, there are "Next" buttons attached to 3 groups while the last group (Opportunity) doesn't contain any. Why? Of course, it's due to the total number of results. While the 3 groups have the value higher than 3 (the limit of results for each group per page), they contain more pages to browse through. The Opportunity group has just 3 results in total and therefore one page only, so there is no "Next" button needed.

Try Easy Redmine in 30 days free trial

Full features, SSL protected, daily backups, in your geolocation