Maximum Results set to 50, but only 15 show up on one page

Hello Team,

I am using flightaware to do a search on flights, My Account Subscription, tells me I can get 50 results per page. So I did the following:

$result = $client->SetMaximumResultSize(50);

Also, in my search function of AirlineFlightSchedules, I pass 50 as an argument, eg:

Array
(
[origin] =>
[destination] => STT
[airline] => LIA
[flightno] =>
[howMany] => 50
[offset] => 1
)

But still returns me 15 flights per page. Please let me know why I do not get 50 results. Will look forward to your response.

Thanks
Amit

Hi Amit,
What are your startDate and endDate paramenters?

Your call to SetMaximumResultSize() is being ignored because the numerical argument is not being passed properly. You are likely not supplying the argument name when invoking that function.


$result = $client->SetMaximumResultSize(array("max_size" => 50));

(The Account Subscription page is unrelated to the maximum page size in FlightXML, so 50 is unrelated to this issue.)