diff --git a/module/rdd-utility.js b/module/rdd-utility.js index e69a57b0..3b186b1d 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -444,12 +444,16 @@ export class RdDUtility { static buildContenuConteneur(conteneur, options = {}, optionsArbre = {}) { RdDUtility.prepareOptionsArbreInventaire(conteneur, optionsArbre); const display = optionsArbre.ouvert ? 'item-display-show' : 'item-display-hide'; - let strContenu = `
"; + const lignesContenu = conteneur.subItems.sort(Misc.ascending(it => it.name)) + .map(contenu => this.buildLigneInventaire(contenu, options, optionsArbre)); + + return `