Level 102
Be aware that two records can have the same updated_at
Product::orderByDesc('updated_at')->orderBy('id')->paginate(30);
Is there a way to sort all the columns from all pages ? I use this but it only sort in the current page and I would like to sort it from the first page to the last one.
Product::orderByDesc('updated_at')->paginate(30);
Be aware that two records can have the same updated_at
Product::orderByDesc('updated_at')->orderBy('id')->paginate(30);
Please or to participate in this conversation.