Questions tagged [pagination]
Pagination is the process of dividing information into discrete pages.
119
questions
0
votes
1
answer
233
views
golang HTTP client that follows pagination header
I'm new to Go from another language and I'm most interested to know if this implementation has anything that's not idiomatic Go, but any feedback is welcome and you're not going to hurt my feelings by ...
0
votes
1
answer
181
views
PHP pagination function
After reviewing my previous question I came up with this pagination function. On my first approach I wrote a class thinking about IDE's code assist and the review wasn't positive. In this function I ...
2
votes
1
answer
100
views
PHP Pagination class (Clase para paginar resultados)
This is my first question in Code Review. I apologize in advance for using Spanish (my native language). I thought there was a spanish version of Code Review.
This class is meant for pagination. It ...
1
vote
0
answers
485
views
Calling PagerDuty REST API to recursively fetch oncall info for a team
I am a beginnner and have put up a code that talks to pagerduty API and then it fethces oncall info for a team (get team id, get escalation policy id, then finally get on call info). response is ...
3
votes
1
answer
152
views
Angular - Contact manager component with API
I am starting with the Angular and I need some support. I have watched some of the tutorials and lot of them are using things differently. I upgraded some tutorial with my own idea, but I am not sure ...
0
votes
1
answer
4k
views
What is the best way to retrieve all pages of a REST API route with Python aiohttp when the number of pages is unknown?
I've encountered a paginated API route where there is no way to know the number of available pages. The only way to retrieve every pages is to check on each page if a next page exists. To do so, the ...
2
votes
1
answer
397
views
table pagination
What I'm trying to do is quite simple: my table has pagination. So if I have 12 items to show and my max items per page is 10, I will have 2 pages, one with 10 records and another with just 2. I ...
3
votes
1
answer
126
views
Pagination helper class
The most nauseous problem with pagination is the fact that you have to write two almost identical queries. For the various reasons I am not inclined to use the SQL-only way (such as ...
3
votes
1
answer
641
views
Client side Pagination implementation in vanilla js
I have made this Pagination Class in JS which takes the following configurations :-
Total records
Records per page
Visible pages
The idea is simple that any instance created using this Pagination ...
2
votes
1
answer
154
views
basic paging function, is there logical problems with the JavaScript part?
Basic paging function, is there logical problems with the JavaScript part?
very basic paging function.
I want to know if there are some problems in the logic of the code.
I feel the JS code is a bit ...
2
votes
0
answers
38
views
Cursor-based search result pagination
Can you guys review my GraphQL search pagination function? I'm afraid there could be some performance issues, or something. Especially at the aggregation section and this ...
2
votes
1
answer
5k
views
Java pagination algorithm
I made a pagination algorithm but in my opinion it is too complicated and it is quite difficult to be understood. This algorithm should show 5 pages where in the middle is the current page. It should ...
1
vote
1
answer
120
views
How can I optimize my pagination code?
I'm building a page in LWC this page consist of a table, you can search, sort and paginate with this table.
When the first element is selected:
when the last element is selected:
When the middle ...
3
votes
0
answers
1k
views
Pagination For Qt's Listview
I'm creating a generic pagination helper class.
Personally I use this class for navigating through Records which are loaded into
any sequential containers e.g ...
2
votes
0
answers
1k
views
Redux pagination transducer
Motivation
In my web app (React, Redux, TypeScript) we have a common need to write paginated API calls, with various UI interactions (infinite scroll, prefetch pages in the background, or manual page ...