Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have body.url work in hashref lookup. #2284

Merged
merged 2 commits into from
Oct 10, 2018
Merged

Conversation

dracos
Copy link
Member

@dracos dracos commented Oct 9, 2018

body.url could still be in use by old-school /reports table index pages (though they were dropped in 2.1, so a cobrand would have to have overridden it since then) and the update to speed up body lists in #2248 broke it. This puts it back in minimal form.

I've removed the Norwegian note as they must have something different, the current code wouldn't be working for them either.

  • Have you updated the changelog? If this is not necessary, put square brackets around this: skip changelog

@dracos dracos requested a review from davea October 9, 2018 17:38
@ghost ghost assigned dracos Oct 9, 2018
@ghost ghost added the Reviewing label Oct 9, 2018
@codecov
Copy link

codecov bot commented Oct 9, 2018

Codecov Report

Merging #2284 into master will decrease coverage by 0.41%.
The diff coverage is 90.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2284      +/-   ##
==========================================
- Coverage   80.14%   79.73%   -0.42%     
==========================================
  Files         187      190       +3     
  Lines       12030    12131     +101     
  Branches     2223     2235      +12     
==========================================
+ Hits         9642     9673      +31     
- Misses       1628     1693      +65     
- Partials      760      765       +5
Impacted Files Coverage Δ
perllib/FixMyStreet/DB/Result/Problem.pm 78.22% <100%> (+0.73%) ⬆️
perllib/FixMyStreet/DB/ResultSet/Body.pm 94.11% <100%> (+0.78%) ⬆️
perllib/FixMyStreet/DB/Result/Body.pm 93.1% <83.33%> (-2.73%) ⬇️
perllib/FixMyStreet/App/Controller/Dashboard.pm 90.64% <0%> (-0.27%) ⬇️
perllib/FixMyStreet/Cobrand/Angus.pm 8.1% <0%> (ø)
perllib/FixMyStreet/Map/Angus.pm 100% <0%> (ø)
perllib/FixMyStreet/SendReport/Angus.pm 36.2% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bd51e0...f8a4d8f. Read the comment docs.

Copy link
Member

@davea davea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 LGTM!

body.url could still be in use by old-school /reports table index pages
(though they were dropped in 2.1, so a cobrand would have to have
overridden it since then) and the update to speed up body lists in #2248
broke it. This puts it back in minimal form.
@dracos dracos merged commit f8a4d8f into master Oct 10, 2018
@ghost ghost removed the Reviewed label Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants