#2 — Condition to add CSS class "selected" to the Abcedaire doesn't match

by xMartin last modified Apr 05, 2010 03:17 PM
State Resolved
Version: ploneglossary-1.4.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by xMartin
Submitted on Apr 05, 2010
Responsible Alter Way Solutions
Target release:
There's this condition to add the CSS class "selected" to a link in the Abcedaire but it compares uppercase to lowercase letter:

    'css_class': letter == self.search_letter and 'selected' or None

I think the "letter" needs to be lowercased as the other occurances in this part of the code:

    'css_class': letter.lower() == self.search_letter and 'selected' or None
Added by xMartin on Apr 05, 2010 02:38 PM
Patch attached against trunk.
Attached:
PloneGlossary-issue-2.patch — application/octet-stream, 0 Kb
Added by Alter Way Solutions on Apr 05, 2010 03:17 PM
Issue state: UnconfirmedResolved
Responsible manager: (UNASSIGNED)ingeniweb
This is fixed in the trunk in rev 114602.

No responses can be added.