|
@@ 64-64 (lines=1) @@
|
| 61 |
|
->sortByDesc(function ($item) {return $item['type']==='date';}) |
| 62 |
|
->sortByDesc(function ($item) {return $item['type']==='float';}) |
| 63 |
|
// ->sortByDesc(function ($item) {return $item['type']==='double';}) |
| 64 |
|
->sortByDesc(function ($item) {return $item['type']==='text' && !in_array($item['name'],["description",'details','content','body','text']);}) |
| 65 |
|
->sortByDesc(function ($item) {return $item['type']==='string' && !in_array($item['name'],["description",'details','content','body','text','middle_name','other_names','first_name','last_name','surname','title','headline','name','display_name','slug']);}) |
| 66 |
|
->sortByDesc(function ($item) {return in_array($item['name'],["description",'details','content','body','text']);}) |
| 67 |
|
->sortByDesc(function ($item) {return in_array($item['name'],['middle_name','other_names']);}) |
|
@@ 66-66 (lines=1) @@
|
| 63 |
|
// ->sortByDesc(function ($item) {return $item['type']==='double';}) |
| 64 |
|
->sortByDesc(function ($item) {return $item['type']==='text' && !in_array($item['name'],["description",'details','content','body','text']);}) |
| 65 |
|
->sortByDesc(function ($item) {return $item['type']==='string' && !in_array($item['name'],["description",'details','content','body','text','middle_name','other_names','first_name','last_name','surname','title','headline','name','display_name','slug']);}) |
| 66 |
|
->sortByDesc(function ($item) {return in_array($item['name'],["description",'details','content','body','text']);}) |
| 67 |
|
->sortByDesc(function ($item) {return in_array($item['name'],['middle_name','other_names']);}) |
| 68 |
|
->sortByDesc(function ($item) {return in_array($item['name'],['first_name','last_name','surname']);}) |
| 69 |
|
->sortByDesc(function ($item) {return in_array($item['name'],['headline']);}) |