old_contents: import MetricWidget from '../MetricWidget';
  import declare from 'dojo/_base/declare';
  import Store from 'argos/Store/PouchDB';
  
  export default declare('crm.Views.Offline.TotalMetricWidget', [MetricWidget], {
    _buildQueryOptions: function _buildQueryOptions() {
      return {};
    },
    _buildQueryExpression: function _buildQueryExpression() {
      return {
        map: function map(doc, emit) {
          emit(1);
        },
        reduce: '_count',
      };
    },
    createStore: function createStore() {
      return new Store({
        databaseName: this.OFFLINE_DB_NAME,
      });
    },
  });
  
new_contents: import MetricWidget from '../MetricWidget';
  import declare from 'dojo/_base/declare';
  import Store from 'argos/Store/PouchDB';
  
  export default declare('crm.Views.Offline.TotalMetricWidget', [MetricWidget], {
    navToReportView: function navToReportView() {},
    _buildQueryOptions: function _buildQueryOptions() {
      return {};
    },
    _buildQueryExpression: function _buildQueryExpression() {
      return {
        map: function map(doc, emit) {
          emit(1);
        },
        reduce: '_count',
      };
    },
    createStore: function createStore() {
      return new Store({
        databaseName: this.OFFLINE_DB_NAME,
      });
    },
  });
  
subject: Disable the report view for the offline total widget.