anchor.diff:          FromParam ->
               From = FromParam
       end,
  +    case wrq:get_qs_value("location",ReqData) of
  +        undefined ->
  +            LocationParam = false;
  +        "true" ->
  +            LocationParam = true;
  +        _ ->
  +            LocationParam = false
  +    end,
       {Json,_,_} = api_help:json_handler(ReqData,State),
  -    FilteredJson = filter_json(Json, From, Size, Sort),
  +    FilteredJson = filter_json(Json, From, Size, Sort, LocationParam),
       case erlastic_search:search_json(#erls_params{},?INDEX, "stream", FilteredJson) of % Maybe wanna take more
               {error, Reason1} ->
                   StreamSearch = {error, Reason1};
  
positive.code: 
  
  %% @doc
  %% Function: filter_json/3
  %% Purpose: Used to add private filters to the json query with pagination
  %% Returns: JSON string that is updated with filter and the from size parameters
  %% @end
  filter_json(Json, From, Size, Sort) ->
  	case lib_json:get_field(Json, "sort") of 
  		undefined -> 
  			UseSort = "\"" ++ Sort ++ "\"", 
  
negative.code: 			end,
  			StreamSearch = lib_json:encode(List1) % May need to convert
      end,
      FilteredJson2 = filter_json(Json, From, Size, Sort, false),
      case erlastic_search:search_json(#erls_params{},?INDEX, "user", lib_json:rm_field(FilteredJson2, "sort")) of % Maybe wanna take more
              {error, Reason2} ->
                      UserSearch = {error, Reason2};
              {ok,List2} -> 
  