<commit_before>/*jslint browser: true, undef: true *//*global Ext*/
Ext.define('SlateAdmin.model.person.Group', {
    extend: 'Ext.data.TreeModel',
    requires: [
        'SlateAdmin.proxy.Records'
    ],

    idProperty: 'ID',

    fields: [{
        name: 'ID',
        type: 'integer',
        allowNull: true
    },{
        name: 'Class',
        defaultValue: 'Emergence\\People\\Groups\\Group'
    },{
        name: 'Created',
        type: 'date',
        dateFormat: 'timestamp',
        allowNull: true
    },{
        name: 'CreatorID',
        type: 'integer',
        allowNull: true
    },{
        name: 'Handle',
        type: 'string',
        allowNull: true
    },{
        name: 'Name',
        type: 'string',
        allowNull: true
    },{
        name: 'Status',
        type: 'string',
        defaultValue: 'Active'
    },{
        name: 'Founded',
        type: 'date',
        dateFormat: 'timestamp'
    },{
        name: 'About',
        type: 'string',
        persist: false,
        allowNull: true
    },{
        name: 'Population',
        type: 'integer',
        allowNull: true,
        persist: false
    },{
        name: 'ParentID',
        type: 'integer',
        allowNull: true
    },{
        name: 'Left',
        type: 'integer',
        allowNull: true
    },{
        name: 'Right',
        type: 'integer',
        allowNull: true
    },{
        name: 'namesPath',
        type: 'string',
        persist: false
    },{
        name: 'text',
        type: 'string',
        persist: false,
        depends: 'Name',
        convert: function(v, r) {
            return v || r.get('Name');<commit_msg>Fix group dropdown dislpay field<commit_after>/*jslint browser: true, undef: true *//*global Ext*/
Ext.define('SlateAdmin.model.person.Group', {
    extend: 'Ext.data.TreeModel',
    requires: [
        'SlateAdmin.proxy.Records'
    ],

    idProperty: 'ID',

    fields: [{
        name: 'ID',
        type: 'integer',
        allowNull: true
    },{
        name: 'Class',
        defaultValue: 'Emergence\\People\\Groups\\Group'
    },{
        name: 'Created',
        type: 'date',
        dateFormat: 'timestamp',
        allowNull: true
    },{
        name: 'CreatorID',
        type: 'integer',
        allowNull: true
    },{
        name: 'Handle',
        type: 'string',
        allowNull: true
    },{
        name: 'Name',
        type: 'string',
        allowNull: true
    },{
        name: 'Status',
        type: 'string',
        defaultValue: 'Active'
    },{
        name: 'Founded',
        type: 'date',
        dateFormat: 'timestamp'
    },{
        name: 'About',
        type: 'string',
        persist: false,
        allowNull: true
    },{
        name: 'Population',
        type: 'integer',
        allowNull: true,
        persist: false
    },{
        name: 'ParentID',
        type: 'integer',
        allowNull: true
    },{
        name: 'Left',
        type: 'integer',
        allowNull: true
    },{
        name: 'Right',
        type: 'integer',
        allowNull: true
    },{
        name: 'namesPath',
        type: 'string',
        persist: false,
        convert: function(v, r) {
            return r.getPath('text', '/');
        }
    },{
        name: 'text',
        type: 'string',
        persist: false,
        depends: 'Name',
        convert: function(v, r) {
            return v || r.get('Name');
{'fraction_non_alphanumeric': 0.15440961031350717, 'fraction_numerical': 0.0, 'mean_word_length': 1.561140285071268, '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': '822470', 'n_tokens_mistral': 1053, 'n_tokens_neox': 1015, 'n_words': 242}