" hidden opportunities" is always shown under opportunities with Django 1.2
Bug #775302 reported by
Dylan McCall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
harvest |
Fix Released
|
Undecided
|
Dylan McCall |
Bug Description
With Django 1.2 (in Ubuntu Natty), the label below every opportunity list in a package always shows “ hidden opportunities” if there are no opportunities hidden.
Related branches
lp:~dylanmccall/harvest/ubuntu-branding
- Daniel Holbach: Approve
-
Diff: 1874 lines (+768/-712)17 files modifiedharvest/media/css/base.css (+179/-578)
harvest/media/css/opportunities.css (+378/-0)
harvest/media/css/reset.css (+1/-6)
harvest/media/css/welcome.css (+69/-0)
harvest/media/js/harvest.js (+22/-8)
harvest/templates/404.html (+6/-3)
harvest/templates/500.html (+5/-3)
harvest/templates/base.html (+47/-32)
harvest/templates/index.html (+19/-23)
harvest/templates/one_column.html (+0/-10)
harvest/templates/opportunities/filter.html (+3/-1)
harvest/templates/opportunities/include/filter_results.html (+13/-13)
harvest/templates/opportunities/include/opportunity.html (+2/-0)
harvest/templates/opportunities/include/package.html (+0/-14)
harvest/templates/opportunities/include/package_details.html (+12/-7)
harvest/templates/opportunities/opportunity_edit.html (+6/-8)
harvest/templates/opportunities/single_package.html (+6/-6)
Changed in harvest: | |
assignee: | nobody → Dylan McCall (dylanmccall) |
milestone: | none → 0.2.8 |
status: | New → Fix Committed |
Changed in harvest: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It appears "ifnotequal hidden_count 0" in package_ details. html is responsible for this. For some reason, hidden_count is resolved to an empty string now. Changing the comparison to check if hidden_count equals '' solves the problem, but will probably break Harvest on the production server. For now, we may just have to frown at Django until we can be sure everyone has 1.2.