import{_ as t,c as o,h as d,o as a,g as c}from"./index-D02r7Zsc.js";const n={props:{nbResults:{type:Number,required:!0}},data:function(){return{records:[],searchId:this.$route.params.searchId,processEnded:!1,selfReloadKey:0,isSorted:!1}},created:async function(){this.publish("showOverlay",!0),this.records=await this.getModule("search").getRecordIdArray(this.get("sessionId"),this.$route.params.searchId,0,"*"),this.processEnded=!0,this.subscribe("sortedResults",e=>{this.records=e,this.isSorted=!0,this.selfReloadKey+=1})}};function i(e,l,s,u,h,p){const r=c("noticelist");return e.processEnded?(a(),o(r,{key:e.selfReloadKey,bulletins:[],records:e.records,searchId:e.searchId,isSorted:e.isSorted,nbResults:s.nbResults},null,8,["records","searchId","isSorted","nbResults"])):d("",!0)}const m=t(n,[["render",i]]);export{m as default};
