redirect from /~/+recipes to recipe when only one recipe can be confusing
Bug #891918 reported by
Michael Hudson-Doyle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
bug #704080 made the link that says "1 recipe using this branch" just link to the recipe on a branch page if indeed there is only one recipe, which is a nice improvement. But it also makes "View source package recipes" on Person:+index behave the same, which is confusing: if I click a link with text, I expect a listing, even if it only contains one item.
Related branches
lp:~cjwatson/launchpad/singleton-listing-no-redirect
- William Grant (community): Approve (code)
-
Diff: 476 lines (+173/-88)11 files modifiedlib/lp/code/browser/branch.py (+12/-4)
lib/lp/code/browser/sourcepackagerecipelisting.py (+0/-8)
lib/lp/code/browser/tests/test_branch.py (+26/-0)
lib/lp/code/browser/tests/test_sourcepackagerecipelisting.py (+2/-6)
lib/lp/code/templates/branch-recipes.pt (+1/-9)
lib/lp/registry/browser/person.py (+2/-6)
lib/lp/snappy/browser/hassnaps.py (+29/-11)
lib/lp/snappy/browser/snaplisting.py (+1/-7)
lib/lp/snappy/browser/tests/test_hassnaps.py (+86/-0)
lib/lp/snappy/browser/tests/test_snaplisting.py (+13/-30)
lib/lp/snappy/templates/snap-macros.pt (+1/-7)
Changed in launchpad: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r17802 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 17802>.