<commit_before><?php

Admin::model('\App\Training_Resource')->title('Recursos de formació')->with()->filters(function ()
{

})->columns(function ()
{
	Column::string('training_resource_name', 'Training_resource_name');
	Column::string('training_resource_short_name', 'Training_resource_short_name');
	Column::string('training_resource_description', 'Training_resource_description');
	Column::string('training_resource_thumbnail', 'Training_resource_thumbnail');
	Column::string('training_resource_external_url', 'Training_resource_external_url');
	Column::string('training_resource_parentResourceId', 'Training_resource_parentResourceId');
})->form(function ()
{
	FormItem::text('training_resource_name', 'Training Resource Name');
	FormItem::text('training_resource_short_name', 'Training Resource Short Name');
	FormItem::text('training_resource_description', 'Training Resource Description');
	FormItem::text('training_resource_thumbnail', 'Training Resource Thumbnail');
	FormItem::text('training_resource_external_url', 'Training Resource External Url');
	FormItem::text('training_resource_parentResourceId', 'Training Resource Parent Resource Id');
	FormItem::timestamp('training_resource_entryDate', 'Training Resource Entry Date');//->seconds(true);
	FormItem::timestamp('training_resource_last_update', 'Training Resource Last Update');//->seconds(true);
	FormItem::text('training_resource_creationUserId', 'Training Resource Creation User Id');
	FormItem::text('training_resource_lastupdateUserId', 'Training Resource Lastupdate User Id');
	FormItem::checkbox('training_resource_softDeleted', 'Training Resource Soft Deleted');
	FormItem::timestamp('training_resource_softDeletedDate', 'Training Resource Soft Deleted Date');//->seconds(true);
});<commit_msg>SleepingOwl: Looking how it works<commit_after><?php

Admin::model('\App\Training_Resource')->title('Recursos de formació')->with()->filters(function ()
{

})->columns(function ()
{

    Column::string('training_resource_thumbnail');
    Column::string('training_resource_id', 'ID');
	Column::string('training_resource_name', 'Nom');
	//Column::string('training_resource_short_name', 'Training_resource_short_name');
	Column::string('training_resource_description', 'Descripció');
	Column::string('training_resource_external_url', 'URL');
	Column::string('training_resource_parentResourceId', 'Pare')->append(Column::filter('training_resource')->value('training_resource_id'));;

})->form(function ()
{
	FormItem::text('training_resource_name', 'Training Resource Name');
	FormItem::text('training_resource_short_name', 'Training Resource Short Name');
	FormItem::text('training_resource_description', 'Training Resource Description');
	FormItem::text('training_resource_thumbnail', 'Training Resource Thumbnail');
	FormItem::text('training_resource_external_url', 'Training Resource External Url');
	FormItem::text('training_resource_parentResourceId', 'Training Resource Parent Resource Id');
	FormItem::timestamp('training_resource_entryDate', 'Training Resource Entry Date');//->seconds(true);
	FormItem::timestamp('training_resource_last_update', 'Training Resource Last Update');//->seconds(true);
	FormItem::text('training_resource_creationUserId', 'Training Resource Creation User Id');
	FormItem::text('training_resource_lastupdateUserId', 'Training Resource Lastupdate User Id');
	FormItem::checkbox('training_resource_softDeleted', 'Training Resource Soft Deleted');
	FormItem::timestamp('training_resource_softDeletedDate', 'Training Resource Soft Deleted Date');//->seconds(true);
});
{'fraction_non_alphanumeric': 0.14722378014582166, 'fraction_numerical': 0.0, 'mean_word_length': 12.666666666666666, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '3493693', 'n_tokens_mistral': 975, 'n_tokens_neox': 946, 'n_words': 163}