<commit_before>@push('js')
<script>

</script>
@endpush

@extends('core::admin.master')

@section('title', __('News'))

@section('content')

<item-list
    url-base="{{ route('api::index-news') }}"
    locale="{{ config('typicms.content_locale') }}"
    url-parameters="fields[news]=id,date"
    title="news"
    :searchable="['date']"
    :sorting="['-date']">

    <template slot="add-button">
        @include('core::admin._button-create', ['module' => 'news'])
    </template>

    <template slot="buttons">
        @include('core::admin._lang-switcher-for-list')
    </template>

    <template slot="columns" slot-scope="{ sortArray }">
        <item-list-column-header name="checkbox"></item-list-column-header><commit_msg>url-parameters renamed to fields<commit_after>@push('js')
<script>

</script>
@endpush

@extends('core::admin.master')

@section('title', __('News'))

@section('content')

<item-list
    url-base="{{ route('api::index-news') }}"
    locale="{{ config('typicms.content_locale') }}"
    fields="id,date"
    title="news"
    :searchable="['date']"
    :sorting="['-date']">

    <template slot="add-button">
        @include('core::admin._button-create', ['module' => 'news'])
    </template>

    <template slot="buttons">
        @include('core::admin._lang-switcher-for-list')
    </template>

    <template slot="columns" slot-scope="{ sortArray }">
        <item-list-column-header name="checkbox"></item-list-column-header>
{'fraction_non_alphanumeric': 0.22596153846153846, 'fraction_numerical': 0.0, 'mean_word_length': 4.241007194244604, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '239990', 'n_tokens_mistral': 483, 'n_tokens_neox': 478, 'n_words': 68}