We've moved discussions to Discord

tip: put `sort_by_params` BEFORE `search_by_full_name` (if using both)

      # DOESNT Sort:
      # @pagy, @found_users = pagy(User.search_by_full_name(params[:searched_name]).sort_by_params(params[:sort], sort_direction), items: max_items)

      # WORKS:
      @pagy, @found_users = pagy(User.sort_by_params(params[:sort], sort_direction).search_by_full_name(params[:searched_name]), items: max_items)


Notifications
You’re not receiving notifications from this thread.