Hola a Todos !
Cuando se utilizan los filtros para en las opción "Listado Registro" en el modulo de Banco/Caja (Registros Bancarios) muestran los registros duplicados.
Saludos
Error al Mostrar Registros en Listado Registros
-
hernan.ciolfi
- Novato
- Mensajes: 2
- Registrado: Jue, 26/04/2018, 14:50
Hola, si es la version 7.01 tenes razon, hay un bug. Lo reporte y creo lo solucionan para la
proxima version.
El problema esta en el archivo bankentries_list.php, linea 458.
Si te animas a tocar un archivo PHP seria asi el arreglo: (te paso lo que puse en el foro)
Hello all.
I think find the problem in repeated lines output in bank entries.
In file bankentries_list.php:
When building SQL, the line 458 have this:
if ($search_bid) $sql.= MAIN_DB_PREFIX."bank_class as l,";
I fixed the problem with this change:
if ($search_bid>0) $sql.= MAIN_DB_PREFIX."bank_class as l,";
Explanation:
In all page when evaluate $search_id all times is used $search_bid>0
except in line 458.
The bad behaivor is that bank_class table is being inluded, but is not neccesary.
Please, for the forum manager:
Please close issue if this change in code is ok for you
Hope this help
Regards
Eduardo Perez
from Buenos Aires Argentina
https://github.com/Dolibarr/dolibarr/issues/8510
Muchos saludos.
proxima version.
El problema esta en el archivo bankentries_list.php, linea 458.
Si te animas a tocar un archivo PHP seria asi el arreglo: (te paso lo que puse en el foro)
Hello all.
I think find the problem in repeated lines output in bank entries.
In file bankentries_list.php:
When building SQL, the line 458 have this:
if ($search_bid) $sql.= MAIN_DB_PREFIX."bank_class as l,";
I fixed the problem with this change:
if ($search_bid>0) $sql.= MAIN_DB_PREFIX."bank_class as l,";
Explanation:
In all page when evaluate $search_id all times is used $search_bid>0
except in line 458.
The bad behaivor is that bank_class table is being inluded, but is not neccesary.
Please, for the forum manager:
Please close issue if this change in code is ok for you
Hope this help
Regards
Eduardo Perez
from Buenos Aires Argentina
https://github.com/Dolibarr/dolibarr/issues/8510
Muchos saludos.

