Skip to content

Fix empty data-rowid on holiday list rows#38050

Merged
eldy merged 1 commit intoDolibarr:22.0from
priojk:fix/holiday-list-data-rowid
May 1, 2026
Merged

Fix empty data-rowid on holiday list rows#38050
eldy merged 1 commit intoDolibarr:22.0from
priojk:fix/holiday-list-data-rowid

Conversation

@priojk
Copy link
Copy Markdown
Contributor

@priojk priojk commented Apr 30, 2026

On htdocs/holiday/list.php the result rows print

  <tr data-rowid="'.$object->id.'"                   

but $object is the outer Holiday instance and is never assigned the current
row's id inside the loop. The loop sets $holidaystatic->id = $obj->rowid ,
so data-rowid ends up empty for every row.

Other list.php files reassign $object inside the loop (commande, projet)
and so are unaffected; societe/list.php uses $companystatic->id for the
same reason this patch uses $holidaystatic->id.

@eldy eldy merged commit f830b99 into Dolibarr:22.0 May 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants