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

Improve / optimize reports listing view #857

Closed
rjmackay opened this issue Sep 30, 2012 · 0 comments
Closed

Improve / optimize reports listing view #857

rjmackay opened this issue Sep 30, 2012 · 0 comments
Milestone

Comments

@rjmackay
Copy link
Contributor

Currently the reports listing view is messy and inefficient. Merge in a few improvements from custom deployments

  • Don't reload incidents with the ORM
  • Use url::site() properly.. ie
    url::site('reports') not url::site().'reports'
  • Allow plugins to extend the filter JS.. not just the filters themselves
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Oct 1, 2012
Removes about 1 query per report listed, and makes it easier to mess
with the reports passed to the listing
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Oct 1, 2012
Use uri parameter of url::site() rather than manually joining strings
this improves readability of the code
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Oct 1, 2012
These are used in the json controller and reports listing
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Oct 1, 2012
…hahidi#857

Adds event: ushahidi_action.report_js_filterReportsAction
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Oct 1, 2012
@rjmackay rjmackay closed this as completed Oct 1, 2012
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

1 participant