X-Git-Url: http://git.indexdata.com/?p=lui-solr.git;a=blobdiff_plain;f=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Fpagination_top.vm;fp=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Fpagination_top.vm;h=e0ac8ac89b638dc4813520e13a81e6d29067de5d;hp=0000000000000000000000000000000000000000;hb=df39a9c5d2f4247b0682f2c6cf0d64b22edfaadd;hpb=8373b5d73c5a09872b07edb5c23b76a7f07fd055 diff --git a/zookeeper/solr/collection1/conf/velocity/pagination_top.vm b/zookeeper/solr/collection1/conf/velocity/pagination_top.vm new file mode 100644 index 0000000..e0ac8ac --- /dev/null +++ b/zookeeper/solr/collection1/conf/velocity/pagination_top.vm @@ -0,0 +1,29 @@ +#** + * Paging and Statistics at top of results + *# + +## Usually rendered in pagination div tag + +## Grouped Results / Not Paginated +#if($response.response.get('grouped')) + + + + $response.response.get('grouped').size() group(s) + + found in ${response.responseHeader.QTime} ms + + +## Regular Results / Use Paging Links if needed +#else + + + $page.results_found + results found in + ${response.responseHeader.QTime} ms + + + Page $page.current_page_number + of $page.page_count + +#end ## end else non-grouped results, normal pagination