Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
Customise pagination for resource in adminjs/ admin bro

I am new to admin bro/ adminjs, I am looking to modify pagination for a resource. I did see the example here

https://adminjs.co/Pagination.html

and tried, but I am missing how to configure it with resource. Can anyone point me to full example or how to configure the pagination for a resource.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In source code perPage parameter get from query. So, you must set for every request.

actions: {
    list: {
        before: async (request, context) => {
            request.query.perPage = 1;
            return request
        }
    }
}

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!