client/public/elements/pages/concept/rp-page-concept.js
/**
   * @method _doPubQuery
   * @param {Object} pubType - Publication type from CollectionModel.subFacets.works
   * @description Retrieves the 5 most recent publications of the specified pubType for this subject.
   * Adds to publications object.
   */
@method _doPubQuery
@param {Object} pubType - Publication type from CollectionModel.subFacets.works
@description Retrieves the 5 most recent publications of the specified pubType for this subject.
Adds to publications object.
@method _doPubQuery @param { Object } pubType - Publication type from CollectionModel . subFacets . works @description Retrieves the 5 most recent publications of the specified pubType for this subject . Adds to publications object .
async _doPubQuery(pubType){
    let data = await this.SubjectModel.getPubs(this.assetId, pubType);
    if (data.state != 'loaded') {
      return;
    }
    if (config.verbose) console.log(`${pubType.id} pubs`, data);
    this.publications[pubType.id] = {'total': data.payload.total, 'results': data.payload.results};
    this.requestUpdate();
  }
async _doPubQuery ( pubType ) { let data = await this . SubjectModel . getPubs ( this . assetId , pubType ) ; if ( data . state != 'loaded' ) { return ; } if ( config . verbose ) console . log ( ` ${ pubType . id } ` , data ) ; this . publications [ pubType . id ] = { 'total' : data . payload . total , 'results' : data . payload . results } ; this . requestUpdate ( ) ; }
@method _doPubQuery
 @param {Object} pubType - Publication type from CollectionModel.subFacets.works
 @description Retrieves the 5 most recent publications of the specified pubType for this subject.
@method _doPubQuery @param { Object } pubType - Publication type from CollectionModel . subFacets . works @description Retrieves the 5 most recent publications of the specified pubType for this subject .