Closed ajones05 closed 7 years ago
@yuriyua Perhaps, this is server side issue. Can you look into it. Let me know if I need to do anything.
I see the parameter filter=0
(My Posts) in the request
2017-07-20T15:07:19+00:00 INFO (6): /mobile/myposts
>> array (
'latitude' => '37.80239734973978',
'longitude' => '-122.25766661766603',
'radious' => '1.6',
'token' => '4HS8KM3I5VR38HCLZI7FCC77C2ISKZIPGCY422M6XF96ZLRY71EIDLQQNBIAA51S',
'searchText' => 'Restaurant',
'filter' => '0',
'start' => '0',
)
<< array (
'status' => 'SUCCESS',
'message' => 'Posts rendred successfully',
'result' =>
array (
0 =>
array (
'id' => '4298',
'user_id' => '2',
'category_id' => '1',
'news' => 'Noo! I hadn\'t gotten to try it yet but was excited to have a legit Mexican place here! Hopefully the replacement is good... and hopefully they re-open somewhere nearby! http://m.eastbayexpress.com/WhatTheFork/archives/2016/10/27/mid-week-menu-aztecali-shutters-but-will-remain-a-mexican-restaurant',
'created_date' => '9 months ago',
'latitude' => '37.8166133',
'longitude' => '-122.2572806',
'Address' => '307 Oakland Avenue, Oakland, CA 94611, US',
'street_name' => 'Oakland Avenue',
'street_number' => '307',
'city' => 'Oakland',
'state' => 'CA',
'country' => 'US',
'zip' => '94611',
'comment_count' => '1',
'vote' => '2',
'isLikedByUser' => '0',
'Name' => 'Bill',
'Profile_image' => 'https://www.seearound.me/uploads/n3iqs397nt.jpg',
'canEdit' => 1,
'canVote' => 0,
'isFriend' => 0,
'link_url' => 'http://m.eastbayexpress.com/WhatTheFork/archives/2016/10/27/mid-week-menu-aztecali-shutters-but-will-remain-a-mexican-restaurant',
'link_title' => 'Mid-Week Menu: Aztecali Shutters, But Will Remain a Mexican Restaurant',
'link_description' => 'Welcome to the Mid-Week Menu, our roundup of East Bay food news. 1) Let’s start with the bad news: Aztecali (303A Oakland Ave., Oakland), probably...',
'link_author' => 'Luke Tsai',
'link_thumb' => 'https://www.seearound.me/thumb448x320/hes4lqci7h.jpg',
'link_image' => 'https://www.seearound.me/uploads/hes4lqci7h.jpg',
),
),
)
You have just one post with keyword Restaurant
in this location
@abdulhafeez you can remove the parameter filter (or set the value ''
) for list posts from all users
This is also related to #234. Once APIs are modified, it will be easier to fix.
Fixed
Is it maybe just searching the first 15?![img_5571](https://user-images.githubusercontent.com/10637288/28425019-faa5ab76-6d23-11e7-8eae-11b325bde16e.PNG)