# Source: themes/ess-dive/models/SolrResult.js

    /*global define */
    define(['jquery', 'underscore', 'backbone','models/BaseSolrResult'],
    	function($, _, Backbone, BaseSolrResult) {

            // SolrResult Model
            // ------------------
            var SolrResult = BaseSolrResult.extend({

                defaults: _.extend({},BaseSolrResult.prototype.defaults,{
                    project:[]
                }),

                /**
                 * Override to add 'project' to the search fields
                 */
                getCitationInfo: function(){
    			    this.getInfo("id,seriesId,origin,authorLastName,pubDate,dateUploaded,title,datasource,project");
    		    },
                /**
                 * override to add default fields with 'project'
                 * @param fields
                 * @returns {*}
                 */
                getInfo: function(fields){
                    if (!fields)
                        fields = "id,seriesId,fileName,resourceMap,formatType,formatId,obsoletedBy,isDocumentedBy,documents,title,origin,authorLastName,pubDate,dateUploaded,datasource,replicaMN,isAuthorized,isPublic,size,read_count_i,isService,serviceTitle,serviceEndpoint,serviceOutput,serviceDescription,serviceType,project";

                    return BaseSolrResult.prototype.getInfo.apply(this,[fields]);
                }
            });
            return SolrResult;
        }
    );