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>='1495411200')) ORDER BY pm1.meta_value DESC, post_date DESC
Urbandale
Found: 5/27/2017
Animal ID: 146571,146568, 146569,146570
Des Moines - East
Found: 5/27/2017
Animal ID: 146567
Des Moines - East
Found: 5/27/2017
Animal ID: 146565
Des Moines - South
Found: 5/27/2017
Animal ID: 146564
Des Moines - South
Found: 5/27/2017
Animal ID: 146556
Des Moines - South
Found: 5/27/2017
Animal ID: 146555
Ankeny
Found: 5/27/2017
ID: 5691
Name: Carl
Type: Dog
Color: Tan
Breed: Shih Tzu
Gender: Male
Fixed: Not Neutered
Age: Young
Last seen on the SE side of Ankeny
Des Moines - Central
Found: 5/26/2017
Animal ID: 146535
Transferring to 1615 SE 14th St
Des Moines - East
Found: 5/26/2017
Animal ID: 146528
Des Moines - North
Found: 5/26/2017
Animal ID: 146526