Blacklight Plugin

UI does not accommodate nil SOLR fields

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.1
  • Fix Version/s: 2.1
  • Component/s: None
  • Description:
    Hide
    If you list the display fields in the solr.yml and the field has no data for a particular record, the label is printed out with a nil value.

    IE:
    author person full: Schumann, Robert, 1810-1856.
    author corp:
    author meeting:
    publish date: 1967

    Where author corp and author meeting are labels being printed out for a record that does not contain that data.


    The fix should be handled in:
    /blacklight/app/views/_index_partials/_default.html.erb
    AND
    /blacklight/app/views/_show_partials/_default.html.erb
    Show
    If you list the display fields in the solr.yml and the field has no data for a particular record, the label is printed out with a nil value. IE: author person full: Schumann, Robert, 1810-1856. author corp: author meeting: publish date: 1967 Where author corp and author meeting are labels being printed out for a record that does not contain that data. The fix should be handled in: /blacklight/app/views/_index_partials/_default.html.erb AND /blacklight/app/views/_show_partials/_default.html.erb

Activity

Hide
Jessie Keck added a comment - 01/Apr/09 11:19 AM
Fix committed to trunk.
Show
Jessie Keck added a comment - 01/Apr/09 11:19 AM Fix committed to trunk.

People

Dates

  • Created:
    31/Mar/09 5:49 PM
    Updated:
    01/Apr/09 11:19 AM
    Resolved:
    01/Apr/09 11:19 AM