• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codeforamerica / ohana-api / 358
99%

Build:
DEFAULT BRANCH: master
Ran 27 May 2014 05:44PM UTC
Jobs 1
Files 22
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
358

push

travis-ci

Moncef Belyamani
Optimize queries for org_name and category

When a search is performed for org_name and/or category, the initial query uses a joins, but when the JSON is created, those same tables that were joined were being "included" again via a slow query.

This commit adds logic to check for the presence of the org_name or category parameter, and removes the corresponding table from the "includes" statement.

678 of 689 relevant lines covered (98.4%)

20.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 358.1 (2.1.1, ADMIN_APP_TOKEN=[secure]) 27 May 2014 05:43PM UTC 0
98.4
Travis Job 358.1
Source Files on build 358
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #358
  • 04fd02d8 on github
  • Prev Build on master (#357)
  • Next Build on master (#362)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc