sintonia/legacy/application
dakriy 8c26505622
feat(legacy): order by filename when lptime is null (#3069)
### Description

It is good to have a deterministic order when doing explicit file
sorting. This sorts by filename when last played time is null. I would
expect filename to be the next sort after last played time in case of a
tie, and was surprised to find it was not explicit. It should not break
any existing use cases.

**This is a new feature**:

Kind of?

**I have updated the documentation to reflect these changes**:

I did not update any documentation as this way seems like the logical
expected way to do the sort.

### Testing Notes

**What I did:**

I loaded up some tracks into a local libretime instance, let some of
them play, and tested that all the old sorts worked as before as well as
tracks getting sorted by filepath in case of a last played time
2024-08-24 07:47:25 +01:00
..
auth/adapters fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) (#2868) 2024-01-07 13:59:02 +01:00
common fix(deps): update dependency friendsofphp/php-cs-fixer to <3.53.1 (#2972) 2024-04-13 14:36:31 +02:00
configs feat(playout): configure device for alsa and pulseaudio system outputs (#2654) 2023-12-29 15:22:43 +01:00
controllers refactor: remove non existent asset file (#3042) 2024-06-22 17:18:16 +02:00
forms feat(legacy): add filename block criteria (#3015) 2024-06-22 11:51:59 +02:00
layouts/scripts fix(legacy): add play button to stream player (#2190) 2022-09-27 08:14:53 +02:00
logging fix(deps): update dependency friendsofphp/php-cs-fixer to <3.53.1 (#2972) 2024-04-13 14:36:31 +02:00
models feat(legacy): order by filename when lptime is null (#3069) 2024-08-24 07:47:25 +01:00
modules/rest fix(deps): update dependency friendsofphp/php-cs-fixer to <3.53.1 (#2972) 2024-04-13 14:36:31 +02:00
services fix(deps): update dependency friendsofphp/php-cs-fixer to <3.43.2 (main) (#2848) 2023-12-29 15:28:57 +01:00
validate Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
views refactor(legacy): remove unused waveform related code (#3003) 2024-05-05 21:15:11 +02:00
Bootstrap.php feat(legacy): move session store to database (#2523) 2023-05-30 22:25:50 +02:00
airtime-boot.php chore: remove cloud storage remainings (#1934) 2022-07-04 22:09:14 +02:00
assets.json feat(legacy): add filename block criteria (#3015) 2024-06-22 11:51:59 +02:00
check.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) (#2868) 2024-01-07 13:59:02 +01:00
preload.php fix(legacy): log errors on connect check failure (#2317) 2022-12-16 19:38:33 +01:00