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

MUR search results sometimes being formatted incorrectly #1861

Closed
3 of 4 tasks
lbeaufort opened this issue Mar 14, 2018 · 2 comments
Closed
3 of 4 tasks

MUR search results sometimes being formatted incorrectly #1861

lbeaufort opened this issue Mar 14, 2018 · 2 comments
Assignees
Milestone

Comments

@lbeaufort
Copy link
Member

lbeaufort commented Mar 14, 2018

Some MURs aren't being displayed properly in the datatable results. They should all line up in a grid.

Example: https://www.fec.gov/data/legal/search/murs/?search=&mur_respondents=Nevada%20NOW&offset=20#results-murs

Screenshot:
screen shot 2018-03-14 at 3 06 21 pm

I think this might have to do with https://github.com/fecgov/fec-cms/blob/develop/fec/legal/templates/partials/legal-search-results-mur.jinja

@lbeaufort lbeaufort changed the title MUR display problem MUR search results sometimes being formatted incorrectly Mar 14, 2018
@AmyKort AmyKort added this to the Sprint 5.3 milestone Mar 16, 2018
@PaulClark2 PaulClark2 modified the milestones: Sprint 5.3, Sprint 5.4 Mar 20, 2018
@jwchumley jwchumley modified the milestones: Sprint 5.4, Sprint 5.5 Apr 10, 2018
@johnnyporkchops johnnyporkchops self-assigned this Apr 10, 2018
@jwchumley jwchumley modified the milestones: Sprint 5.5, Sprint 5.6 Apr 24, 2018
@lbeaufort
Copy link
Member Author

Update: The OCR text for one archived MUR contained the characters <i which the browser was interpreting as an <i> HTML tag:

<i ~="" 3xp.uditiae.="" <em="">
</i>

(Search results show this MUR with the "3xp.uditiae" text)

Thank you @vrajmohan for your great detective work on this one!

Because archived MURs are static and OCR'd by our team, the plan for now is to manually update the archived MUR text with an Elasticsearch PUT request: curl -XPUT $URI/.../mur_2934 -d @file_name but if this continues to be a problem we might want to explore a systematic approach..

@lbeaufort
Copy link
Member Author

Issue moved to fecgov/openFEC #3090 via ZenHub

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

No branches or pull requests

6 participants