Bugzilla – Bug 3224
One Genre missing from Advanced Search drop down
Last modified: 2008-09-15 14:38:10 UTC
Seen in 6.2.1 and 6.2.2 ... The Advanced Search field for Genre - which should be a drop down with all valid values of Genre - is missing one value. In my case, with 6.2.2, it is missing the genre "Vocal", which I see in my database has the ID of 1. Looking in advanced_search.html I see the line "[% NEXT IF NOT genre.name OR genre.id == 1 %]" which may be relevant? I tried this in an old version of 6.5 I have installed on another machine - there I'm also missing one Genre, but its the "No Genre" value, which seems a bit more sensible. Is omitting Genre 1 deliberate, on the assumption its always "No Genre" ? Or is there something else going on in the logic I don't understand? Either way, its definitely broken in 6.2.2 and another user has reported something similar in 6.2.1 Ceejay.
I believe the line: [% NEXT IF NOT genre.name OR genre.id == 1 %] should be [% NEXT IF NOT genre.name %] I've verified it works for me.
Dan, does the "no genre" at genre id=1 still have any application with 6.2.2 or can we go ahead with this patch in order to make it for 6.2.2?
Fixed in change 7053