fix: refs #6683 add search-url to VnDmsList for proper worker link redirection
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jose Antonio Tubau 2025-04-14 09:35:23 +02:00
parent 5527a7fea8
commit 601b8d8d64
3 changed files with 4 additions and 3 deletions

View File

@ -302,6 +302,7 @@ defineExpose({
:data-key="$props.model" :data-key="$props.model"
:url="$props.model" :url="$props.model"
:user-filter="dmsFilter" :user-filter="dmsFilter"
search-url="dmsFilter"
:order="['dmsFk DESC']" :order="['dmsFk DESC']"
auto-load auto-load
@on-fetch="setData" @on-fetch="setData"

View File

@ -16,8 +16,8 @@ const onDataSaved = () => dmsListRef.value.dmsRef.fetch();
<VnDmsList <VnDmsList
ref="dmsListRef" ref="dmsListRef"
model="PropertyDms" model="PropertyDms"
update-model="propertyDms" update-model="PropertyDms"
delete-model="propertyDms" delete-model="PropertyDms"
download-model="dms" download-model="dms"
default-dms-code="property" default-dms-code="property"
filter="propertyFk" filter="propertyFk"

View File

@ -104,7 +104,7 @@ describe('Property DMS', () => {
cy.readFile(`${downloadsFolder}/${fileName}`).should('exist'); cy.readFile(`${downloadsFolder}/${fileName}`).should('exist');
}); });
describe.skip('Worker pop-ups', () => { describe.only('Worker pop-ups', () => {
it('Should redirect to the worker summary from worker descriptor pop-up', () => { it('Should redirect to the worker summary from worker descriptor pop-up', () => {
cy.get(selectors.lastRowWorkerLink) cy.get(selectors.lastRowWorkerLink)
.should('be.visible') .should('be.visible')