Hi. Just a quick UI question in v0.11.0 many thing...
# getting-started
f
Hi. Just a quick UI question in v0.11.0 many things have been paginated is there a way to set up default number of value per page ? The 10 elems by default is a bit annoying 😄
j
Hi @francoisa, yeah this is a recent change that we did. You can refer to the PR for more context about why the changes are made. https://github.com/apache/pinot/pull/9404
To answer your question we cannot change the default behavior of pagination from the config The logic is in the UI code. so if you can change the code then goto
Copy code
pinot/pinot-controller/src/main/resources/app/components/Table.tsx
and change the code in line 276
Copy code
-  const [rowsPerPage, setRowsPerPage] = React.useState(defaultRowsPerPage || 10);
+  const [rowsPerPage, setRowsPerPage] = React.useState(defaultRowsPerPage || 25);
This will change the defaultRowsPerPage to 25
But thanks for the suggestion, we can improve this behavior going forward.
f
Many thanks for you feedback !