Bug with sort order?

Everything, that fits not well into other forums - Questions, Talk, Beta-Versions ...
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
friotte
Posts: 5
Joined: 26. Jan 07, 17:29
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Bug with sort order?

Postby friotte » 26. Jan 07, 18:09

Just noticed a possible bug with sorting by Artist - Album - Year. I'm using settings "at least 1 track with corresponding directory" and when the artists are similar, it doesn't seem to be ordering them correctly. I'm 100% sure everything is tagged properly. Here's an example:

Artist Album
-----------------------------------------------------------
Queen Hot Space
Queen Ida And Her Zydeco Band Cookin' With Queen Ida
Queen Innuendo

It should have the two Queen albums first. It looks like its combining the artist and album names and then sorting, rather than sorting by artist, and then by album. I've attached a screen shot to show it more clearly. Is this a bug, or am I doing something wrong?

Thanks, George
Attachments
silver1.jpg
silver1.jpg (109.89 KiB) Viewed 1957 times

friotte
Posts: 5
Joined: 26. Jan 07, 17:29
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Bug with sort order?

Postby friotte » 16. Feb 07, 23:09


User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Bug with sort order?

Postby Service-Team » 26. Feb 07, 14:54

Hello George,

thank you for your hints.

We could now reproduce the sorting problem here: The bug only appears if the ordering "artist-album-year" or "album-artist-year" is used and if there are some artist names starting with the names of other artists (as "Queen Ida And Her Zydeco Band" and "Queen" in your example). As a result of the bug, the ordering was incorrect (only) for the given artists.

The bug will be fixed with the next release (probably 2.52).

Best regards - and thanks again,
Your Silverjuke Team


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Main Forum”