<commit_before>define([
  'client/controllers/module',
  'client/views/table',
  'extensions/collections/collection'
], function (ModuleController, TableView, Collection) {

  return ModuleController.extend({

    visualisationClass: TableView,
    collectionClass: Collection,

    collectionOptions: function () {
      return {
        id: 'list',
        title: 'List',
        queryParams: this.model.get('query-params'),
        axes: this.model.get('axes')
      };
    }

  });

});<commit_msg>Extend table module query params to ask for flat data<commit_after>define([
  'client/controllers/module',
  'client/views/table',
  'extensions/collections/collection'
], function (ModuleController, TableView, Collection) {

  return ModuleController.extend({

    visualisationClass: TableView,
    collectionClass: Collection,

    collectionOptions: function () {
      return {
        id: 'list',
        title: 'List',
        queryParams: _.extend({}, this.model.get('query-params'), {'flatten':true}),
        axes: this.model.get('axes')
      };
    }

  });

});
{'fraction_non_alphanumeric': 0.14312267657992564, 'fraction_numerical': 0.0, 'mean_word_length': 3.2569169960474307, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '635080', 'n_tokens_mistral': 315, 'n_tokens_neox': 302, 'n_words': 61}