In order to make query result properties accessible, set the enableCountQuery
property to true. The SearchFormHandler defines the following search results properties:
Properties | Description |
---|---|
| 1-based page number of active page. Set this property in order to display a given page. The default setting is 1. |
| Enables access to other query result properties. |
| 1-based number of the last item on the current page. |
| 0-based index number of the last item on the current page. The form handler uses this property to calculate the |
| Maximum number of items that display on a page. |
| Maximum number of items returned from a search. A value of –1 (the default) returns all items that satisfy the search criteria. |
| Number of pages that hold search results. |
| Number of items returned from the search. |
| 1-based number of the first item on the current page. |
| 0-based index number of the first item on the current page. The form handler uses this property to calculate the |
Note: These properties apply to a search that involves one item type. If your search form handler allows for multiple item types, these properties might not behave as expected.