Filter By
     
SELECT * FROM ipa_wp_posts LEFT JOIN ipa_wp_postmeta AS pm ON( ipa_wp_posts.ID = pm.post_id AND pm.meta_key = 'pet_listings_listing_type' ) LEFT JOIN ipa_wp_postmeta AS pm1 ON( ipa_wp_posts.ID = pm1.post_id AND pm1.meta_key = 'pet_listings_date_lost_found' ) LEFT JOIN ipa_wp_postmeta AS pm2 ON( ipa_wp_posts.ID = pm2.post_id AND pm2.meta_key = 'pet_listings_listing_status' ) LEFT JOIN ipa_wp_postmeta AS pm3 ON( ipa_wp_posts.ID = pm3.post_id AND pm3.meta_key = 'pet_listings_shelterid' ) WHERE ipa_wp_posts.post_status = 'publish' AND ipa_wp_posts.post_type = 'pet_listings' AND pm.meta_value = 'found' AND pm2.meta_value = 'Active' AND (pm3.meta_value IS NULL or (pm3.meta_value IS NOT NULL AND pm1.meta_value>='1533772800')) ORDER BY pm1.meta_value DESC, post_date DESC
West Des Moines
Found: 8/15/2018
ID: 9391
Name:
Type: Cat
Color: White and orange
Breed: Domestic Short Hair
Gender: Female
Fixed: Neutered
Age: Adult
600 block of Valhigh Rd
Des Moines - East
Found: 8/15/2018
Animal ID: 163105
Des Moines - East
Found: 8/15/2018
Animal ID: 163106
Des Moines - East
Found: 8/15/2018
Animal ID: 163107
Altoona
Found: 8/15/2018
Animal ID: 163092
Des Moines - North
Found: 8/15/2018
Animal ID: 163094
Des Moines - South
Found: 8/15/2018
Animal ID: 163089
Des Moines - Central
Found: 8/15/2018
Animal ID: 163086
Des Moines - Central
Found: 8/15/2018
Animal ID: 163085
Cumming
Found: 8/15/2018
Animal ID: 163081