question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Order by not working with enableDetailsRow

See original GitHub issue

When i put $this->crud->enableDetailsRow(); in my controller the order by (click on the columns titles) on the list is not working anymore.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
tabacitucommented, Oct 25, 2017

@MarcosBL thanks for reopening it earlier!

2reactions
MarcosBLcommented, Apr 21, 2017

Confirmed here (3.2.10), Datatables is ordering the wrong column due to a off by one bug when enableDetailsRow is On: if you click on the 2º column, it will order by the 3º

For example, a click on “Hecha” sorts by “Comercial”

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple details row plus symbols? - laravel - Stack Overflow
The code I'm using to generate the plus symbol is: $this->crud->enableDetailsRow(); $this->crud->allowAccess ...
Read more >
List Operation :: 5.x Docs - Backpack for Laravel
Enable the functionality: $this->crud->enableDetailsRow(); ... If you want a field that is not on table, user can't show it, but will ALWAYS be...
Read more >
Order By not working - Laracasts
Method Illuminate\Database\Eloquent\Collection::OrderBy does not exist. Have I just done it in the wrong order or something?
Read more >
Read::setPageLengthMenu() - Code Metrics - Laravel-Backpack ...
Code Coverage Duplication Issues. 1. <?php. 2. 3, namespace Backpack\CRUD\app\Library\CrudPanel\Traits;. 4. 5, use Exception;.
Read more >
Avoid ORDER BY in SQL Server views
Problem. For as long as I have been working with SQL Server, I have watched people add ORDER BY to views for various...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found