| bio | website | phoat.com |
|---|---|---|
| location | Athens, Greece | |
| age | 37 | |
| visits | member for | 2 months |
| seen | Feb 28 at 5:07 | |
| stats | profile views | 2 |
|
Feb 27 |
answered | Is There A Way To Add Another Field To Custom Post Type (Not Custom Field/Meta)? |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query I think i figured it out. The culprit, it seems is the json_encode. Using the get_objects_in_term test I did, I changed the dataType to HTML and removed json_encode line and it worked. |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query I did a test using get_objects_in_term as @MarkKaplun suggested, and while it does return the post IDs, it stops working when trying to return the rest of the data (company name). |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query Right now for my tests, there are 140 products in one product_type category. That's why it seems odd to me that it's taking so long. I have a custom post type with a product type taxonomy and a company taxonomy and I want to ask the question (for example), "Bring me all notebook computers (product_type) made by Sony(company) from my products(custom post type)." |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query I looked at the php.ini and max_execution_time = 300 |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query I looked at the php.ini and max_execution_time = 300 |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query Thank you btw for taking the time to help me :) |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query Yes it does, and I guess I should have explained it better. I want manufacturers that have a product in the category chosen. So the list depends on what is chosen in the product category dropdown. I'm filtering results essentially. Choose a product category, then choose a company that has a product in that category, then choose a product and finally submit. Its for a feature comparison website comparing tech specs of various hardware. |
|
Feb 27 |
comment |
AJAX Call is Only Returning 100 Results from Query The dropdown doesn't return 100 items, as you can see from the code, I use array_unique to only return the manufacturer once in the list. The way it works now is the user chooses a product category, lets say notebooks, and the manufacturer dropdown goes through all the posts and returns only the products in the notebook taxonomy. Then it groups the posts by manufacturer so that the user can choose a company. When a company is choosen, a third dropdown is populated with products by that company. |
|
Feb 27 |
awarded | Student |
|
Feb 27 |
asked | AJAX Call is Only Returning 100 Results from Query |