<commit_before>import React, { Component } from 'react';
import Table from '../../../components/uielements/table';
import Pagination from '../../../components/uielements/pagination';
import Button from '../../../components/uielements/button';
import zoneActions from '../../../redux/zone/actions';
import { Row, Col } from 'antd'
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';

const {
  indexAllZones
} = zoneActions;

const columns = [{
  title: 'Id',
  dataIndex: 'id',
  key: 'id'
}, {
  title: 'Zona',
  dataIndex: 'name',
  key: 'name'
}, {
  title: 'Latitud inferior',
  dataIndex: 'south_west_lat',
  key: 'south_west_lat'
}, {
  title: 'Longitud inferior',
  dataIndex: 'south_west_long',
  key: 'south_west_long'
}, {
  title: 'Latitud superior',
  dataIndex: 'north_east_lat',
  key: 'north_east_lat'
}, {
  title: 'Longitud superior',
  dataIndex: 'north_east_long',
  key: 'north_east_long'
}, {
  title: 'Acción',
  key: 'action',
  render: (text, record) => (
    <span>
      <Link to={`/admin/zones/${record.id}`}>Ver detalle</Link>
    </span>
  ),
}];

const initialPage = 1
const itemsPerPage = 1

class Zones extends Component {
<commit_msg>Fixing the items per page amount in zones list<commit_after>import React, { Component } from 'react';
import Table from '../../../components/uielements/table';
import Pagination from '../../../components/uielements/pagination';
import Button from '../../../components/uielements/button';
import zoneActions from '../../../redux/zone/actions';
import { Row, Col } from 'antd'
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';

const {
  indexAllZones
} = zoneActions;

const columns = [{
  title: 'Id',
  dataIndex: 'id',
  key: 'id'
}, {
  title: 'Zona',
  dataIndex: 'name',
  key: 'name'
}, {
  title: 'Latitud inferior',
  dataIndex: 'south_west_lat',
  key: 'south_west_lat'
}, {
  title: 'Longitud inferior',
  dataIndex: 'south_west_long',
  key: 'south_west_long'
}, {
  title: 'Latitud superior',
  dataIndex: 'north_east_lat',
  key: 'north_east_lat'
}, {
  title: 'Longitud superior',
  dataIndex: 'north_east_long',
  key: 'north_east_long'
}, {
  title: 'Acción',
  key: 'action',
  render: (text, record) => (
    <span>
      <Link to={`/admin/zones/${record.id}`}>Ver detalle</Link>
    </span>
  ),
}];

const initialPage = 1
const itemsPerPage = 10

class Zones extends Component {

{'fraction_non_alphanumeric': 0.1806930693069307, 'fraction_numerical': 0.0020627062706270625, 'mean_word_length': 3.764243614931238, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '110912', 'n_tokens_mistral': 869, 'n_tokens_neox': 851, 'n_words': 210}