Skip to content

Commit

Permalink
Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaredoug committed Jul 31, 2014
1 parent 8054e82 commit bb798c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splainer-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,12 @@ angular.module('o19s.splainer-search')

this.createNormalDoc = function(fieldSpec, solrDoc) {
var nDoc = new NormalDoc(fieldSpec, solrDoc);
return explainable(nDoc, solrDoc.explain(nDoc.id));
return this.explainDoc(nDoc, solrDoc.explain(nDoc.id));
};

// Decorate doc with an explain/field values/etc other
// than what came back from Solr
this.decorateDoc = function(doc, explainJson) {
this.explainDoc = function(doc, explainJson) {
var decorated = angular.copy(doc);
return explainable(decorated, explainJson);
};
Expand Down

0 comments on commit bb798c5

Please sign in to comment.