Skip to content

Commit

Permalink
refactor(RUP):molecula-base incorporar funcionalidad de ultimo regist…
Browse files Browse the repository at this point in the history
…ros parametrizable
  • Loading branch information
waltergarrido committed Sep 8, 2020
1 parent c5dc0e4 commit 9a6efb7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export class MoleculaBaseComponent extends RUPComponent implements OnInit {
this.validacion = false;
}
});
if (!this.validacion && !this.soloValores) {
const buscarAnterior = this.params && this.params.buscarAnterior;
if (!this.validacion && !this.soloValores && buscarAnterior) {

this.prestacionesService.getRegistrosHuds(this.paciente.id, this.registro.concepto.conceptId).subscribe(consulta => {
// ordeno por fecha desde lo mas actual hasta infinito
Expand Down

0 comments on commit 9a6efb7

Please sign in to comment.