         },
         search: socket.assigns.search_options,
         like_search: socket.assigns.like_search,
-        additional_params: socket.assigns[:records_getter_params]
       )
 
     assign(socket, records: records)

      {:sort, %{sort_by: sort_by, sort_order: sort_order}}, query ->
        from q in query, order_by: [{^sort_order, ^sort_by}]

      {:additional_params, _}, query ->
        query

      {:search, search_options}, query ->
        Enum.reduce(search_options, query, fn
          {column, value}, query ->

              query
            end
        end)
    end)
    |> Repo.all()
  end
