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

codeforamerica / ohana-api
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: mb-update-factory-bot
DEFAULT BRANCH: master
Repo Added 30 May 2013 02:33PM UTC
Files 122
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

LAST BUILD ON BRANCH fix-ranking-issue
branch: fix-ranking-issue
CHANGE BRANCH
x
Reset
  • fix-ranking-issue
  • 10-user-agent
  • 104-search-for-many-languages
  • 164-fix-devise-bug
  • 185-org-autocomplete
  • 187-admin-languages
  • 188-highlight-error-fields
  • 200-remove-required-attribute
  • 238-update-readme
  • 25-api-keys
  • 304-csv-export
  • 308-add-new-program-button
  • 313-copy-service
  • 326-zip-csv-files
  • 332-improve-import-errors
  • 336-import-fixes
  • 361-csv-memory
  • 41-enable-ssl
  • 69-create-app-link
  • add-additional-fields
  • add-admin-field-to-location
  • add-codeclimate-config
  • add-contacts-to-org
  • add-contacts-to-service
  • add-devise-paranoid
  • add-docker-support
  • add-gitattributes
  • add-interpretation-services
  • add-number_type-to-phones
  • add-phones-to-org
  • add-phones-to-service
  • add-profiling-gems
  • add-programs
  • add-schedules
  • add-sms-to-phone-number-type
  • added_fields
  • admin-interface
  • admin-subdomain
  • automatically-set-super-admin
  • bootstrap-tweaks
  • cache-gems-for-travis
  • category-assignment-via-CSV
  • csv-import
  • data-merge
  • disable-email-sending-during-db-seed
  • disable-state-validation-for-non-us
  • elasticsearch
  • expose-weekday-as-integer
  • fix-csv-import-script
  • fix-dashboard-spec
  • fix-devise-issues
  • fix-docker
  • fix-flickering-search-spec
  • fix-heroku-db-setup
  • fix-label-for-categories
  • fix-readme
  • fix-rubocop-offenses
  • fix-scss-offenses
  • full-text-search-for-org-name
  • holiday-schedules
  • holiday-schedules-admin
  • hound-config
  • inactive-services
  • installation-docs
  • latlon
  • master
  • mb-protected-attributes
  • mb-update-factory-bot
  • mb-update-gems
  • nearby
  • only-validate-presence-of-state-for-us-and-ca
  • optimize-admin-decorator
  • order-categories
  • pg-search
  • postgres
  • prevent-puma-connection-leakage
  • readme-updates
  • refactor-search
  • refactor-validators
  • remove-grape
  • remove-redis
  • remove-short-description-validations-137
  • remove-unused-code
  • remove-unused-http-headers
  • rename-fields
  • replace-location-emails-with-email
  • replace-location-urls-with-website
  • replace-mandrill-with-sendgrid
  • replace-pg-search
  • search-keyword-service-area
  • search-multiple-categories
  • select2-for-service-areas
  • service-area-filter
  • show-version-number-in-admin-interface
  • snyk-fix-80ad56c6
  • taxonomy-import
  • test
  • tweak-install-postgresql-words
  • update-README
  • update-bootstrap-sass
  • update-caching
  • update-dev-gems
  • update-devise
  • update-gems
  • update-gems-with-bummr
  • update-nearby-serializer
  • update-nokogiri
  • update-pundit
  • update-rails
  • update-readme
  • update-required-fields
  • update-root-endpoint
  • update-rubocop
  • update-ruby
  • update-ruby-and-bummr
  • update-sample-csvs
  • update-services
  • update-spec-setup
  • update-status-controller
  • update-uglifier
  • updates-seed-user-comments
  • updates-test-data
  • updates-test-data-infobox
  • upgrade-bootstrap
  • upgrade-rspec
  • upgrade-swagger
  • use-select2-tags-for-service-keywords
  • v0.3.1.0
  • v1.0
  • v1.1.0
  • v1.2.0
  • v2.0.0
  • v3.0.0
  • v3.1.0
  • wad-without-credentials

pending completion
1038

push

travis-ci

monfresh
Order results by updated_at when rank is the same

Why:
Search queries that contain the keyword parameter are ordered by the
rank calculated by the Postgres full text search feature. In some
cases, the rank could be the same for all results, but in those cases,
Postgres does not guarantee that the order will be same all the time.
This will cause issues with pagination since the order might not be
consistent as you go from one page to another.

In order to keep the order consistent, we can specify an additional way
to rank the results. I've chosen to order by most recently updated.

1719 of 1729 relevant lines covered (99.42%)

67.17 hits per line

Relevant lines Covered
Build:
Build:
1729 RELEVANT LINES 1719 COVERED LINES
67.17 HITS PER LINE
Source Files on fix-ranking-issue
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1038 fix-ranking-issue Order results by updated_at when rank is the same Why: Search queries that contain the keyword parameter are ordered by the rank calculated by the Postgres full text search feature. In some cases, the rank could be the same for all results, but i... push 15 Aug 2015 02:28PM UTC monfresh travis-ci pending completion  
See All Builds (1061)
  • Repo on GitHub
  • CI Project
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

© 2025 Coveralls, Inc