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

77
Views
Ajax custom search

I'm trying to retrieve data from a JSON file that has a limit of 200 but has a total records of 2323. My co-worker has set up the following search header that I need to set up a search for so it'll pull more data than the set 200 limit. Sorry if it's confusing. This is all new to me.

Search header

if ($request->first_name) {
            $qb->andWhere($qb->expr()->like('`First Name`', ':first_name'))
                ->setParameter('first_name', '%' . str_replace('%', '', $request->first_name) . '%');
        }

AJAX:

$.ajax({
        type: 'GET',
        url: '*path*',
        dataType: 'json',
        success: function(data){
            console.log(data)
        }
    })

Contents of JSON file (2 examples):

"page": 1,
  "start": 0,
  "limit": 200,
  "total": 2323,
  "data": [{
      "FairviewID": "2",
      "First Name": "John",
      "Middle Name": "R",
      "Last Name": "Smith",
      "Address": null,
      "City": null,
      "State": null
    },
    {
      "FairviewID": "1",
      "First Name": "John 2",
      "Middle Name": "R 2",
      "Last Name": "Smith 2",
      "Address": null,
      "City": null,
      "State": null
     }
]
about 4 years ago · Juan Pablo Isaza
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!