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

pulibrary / orangelight / b09ebf27-5b65-470a-ae97-41d94126d39d
96%
main: 95%

Build:
Build:
LAST BUILD BRANCH: request_spec_cleanup
DEFAULT BRANCH: main
Ran 30 Aug 2024 09:11PM UTC
Jobs 1
Files 164
Run time 1min
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

30 Aug 2024 09:00PM UTC coverage: 95.743%. First build
b09ebf27-5b65-470a-ae97-41d94126d39d

push

circleci

sandbergja
Wrap our current index page partials in a subclass of Blacklight::DocumentComponent

Blacklight offers two ways to customize how your search results display:
* config.index.partials, where you can specify specific partials you want to show in the view directory
* config.index.document_component, where you can specify a subclass of Blacklight::DocumentComponent that
  displays the item

In Blacklight 8, the default behavior is to use Blacklight::DocumentComponent directly, which renders
all the relevant metadata for the result, and then display the partials you've configured in
config.index.partials.

The catch is that the partials we've configured in config.index.partials _also_ display the metadata,
so we end up displaying all the metadata twice.

This commit subclasses Blacklight::DocumentComponent to display only our partials.

8 of 8 new or added lines in 2 files covered. (100.0%)

5847 of 6107 relevant lines covered (95.74%)

1399.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 b09ebf27-5b65-470a-ae97-41d94126d39d.1 30 Aug 2024 09:11PM UTC 164
95.74
Source Files on build b09ebf27-5b65-470a-ae97-41d94126d39d
  • Tree
  • List 164
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #B09EBF27...
  • fc3ab652 on github
  • Prev Build on main (#CE16AFC2...)
  • Next Build on wrap-partials-in-index-document-component (#BA76096B...)
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