I am trying to get this repeating panel to display more rows, and display the right user’s “time off” (which is based on the login user), with the latest “From Date” to be at the top. This is from the users perspective and not Admin’s.
What I’ve tried and what’s not working:
# Adding time_offs table to this page
time_offs = app_tables.time_off_requests.search(q.page_size(5),tables.order_by("From_Date",ascending=False),User=self.user_name.text)
self.repeating_panel_time_off.items = time_offs
Still, it is the same. It only displays 3 rows. It also does not let me click on the page controls. The repeating panel is inside a column panel with a card role. Could that be it?
You only have 3 rows in your data table that match the query. How should Anvil display more rows than you actually have? (e.g. what are you expecting it to look like?)