SELECTp0_.titleAStitle_0,p0_.descriptionASdescription_1,p0_.scheduled_atASscheduled_at_2,p0_.cityAScity_3,p0_.locationASlocation_4,p0_.show_exact_addressASshow_exact_address_5,p0_.ends_atASends_at_6,p0_.postal_codeASpostal_code_7,p0_.latitudeASlatitude_8,p0_.longitudeASlongitude_9,p0_.meeting_pointASmeeting_point_10,p0_.to_bringASto_bring_11,p0_.cover_imageAScover_image_12,p0_.visibilityASvisibility_13,p0_.participation_modeASparticipation_mode_14,p0_.statusASstatus_15,p0_.levelASlevel_16,p0_.min_participantsASmin_participants_17,p0_.max_participantsASmax_participants_18,p0_.views_countASviews_count_19,p0_.idASid_20,p0_.created_atAScreated_at_21,p0_.updated_atASupdated_at_22,c1_.nameASname_23,c1_.slugASslug_24,c1_.positionASposition_25,c1_.idASid_26,c1_.created_atAScreated_at_27,c1_.updated_atASupdated_at_28,p0_.organizer_idASorganizer_id_29,p0_.category_idAScategory_id_30,p0_.category_suggestion_idAScategory_suggestion_id_31,p0_.service_idASservice_id_32,c1_.parent_idASparent_id_33FROMprivate_activityp0_LEFT JOINcategoryc1_ONp0_.category_id=c1_.idWHEREp0_.visibilityIN (?) ANDp0_.statusNOTIN (?,?,?) AND (p0_.scheduled_atISNULLORp0_.scheduled_at>=?) ORDER BYp0_.views_countDESC,p0_.scheduled_atASC
SELECTp0_.titleAStitle_0,p0_.descriptionASdescription_1,p0_.scheduled_atASscheduled_at_2,p0_.cityAScity_3,p0_.locationASlocation_4,p0_.show_exact_addressASshow_exact_address_5,p0_.ends_atASends_at_6,p0_.postal_codeASpostal_code_7,p0_.latitudeASlatitude_8,p0_.longitudeASlongitude_9,p0_.meeting_pointASmeeting_point_10,p0_.to_bringASto_bring_11,p0_.cover_imageAScover_image_12,p0_.visibilityASvisibility_13,p0_.participation_modeASparticipation_mode_14,p0_.statusASstatus_15,p0_.levelASlevel_16,p0_.min_participantsASmin_participants_17,p0_.max_participantsASmax_participants_18,p0_.views_countASviews_count_19,p0_.idASid_20,p0_.created_atAScreated_at_21,p0_.updated_atASupdated_at_22,c1_.nameASname_23,c1_.slugASslug_24,c1_.positionASposition_25,c1_.idASid_26,c1_.created_atAScreated_at_27,c1_.updated_atASupdated_at_28,p0_.organizer_idASorganizer_id_29,p0_.category_idAScategory_id_30,p0_.category_suggestion_idAScategory_suggestion_id_31,p0_.service_idASservice_id_32,c1_.parent_idASparent_id_33FROMprivate_activityp0_LEFT JOINcategoryc1_ONp0_.category_id=c1_.idWHEREp0_.visibilityIN (?)
ANDp0_.statusNOTIN (?,?,?)
AND (
p0_.scheduled_atISNULLORp0_.scheduled_at>=?
)
ORDER BYp0_.views_countDESC,p0_.scheduled_atASC
SELECTp0_.titleAStitle_0,p0_.descriptionASdescription_1,p0_.scheduled_atASscheduled_at_2,p0_.cityAScity_3,p0_.locationASlocation_4,p0_.show_exact_addressASshow_exact_address_5,p0_.ends_atASends_at_6,p0_.postal_codeASpostal_code_7,p0_.latitudeASlatitude_8,p0_.longitudeASlongitude_9,p0_.meeting_pointASmeeting_point_10,p0_.to_bringASto_bring_11,p0_.cover_imageAScover_image_12,p0_.visibilityASvisibility_13,p0_.participation_modeASparticipation_mode_14,p0_.statusASstatus_15,p0_.levelASlevel_16,p0_.min_participantsASmin_participants_17,p0_.max_participantsASmax_participants_18,p0_.views_countASviews_count_19,p0_.idASid_20,p0_.created_atAScreated_at_21,p0_.updated_atASupdated_at_22,c1_.nameASname_23,c1_.slugASslug_24,c1_.positionASposition_25,c1_.idASid_26,c1_.created_atAScreated_at_27,c1_.updated_atASupdated_at_28,p0_.organizer_idASorganizer_id_29,p0_.category_idAScategory_id_30,p0_.category_suggestion_idAScategory_suggestion_id_31,p0_.service_idASservice_id_32,c1_.parent_idASparent_id_33FROMprivate_activityp0_LEFT JOINcategoryc1_ONp0_.category_id=c1_.idWHEREp0_.visibilityIN ('public') ANDp0_.statusNOTIN ('cancelled','draft','pending_category') AND (p0_.scheduled_atISNULLORp0_.scheduled_at>='2026-11-06 20:12:01') ORDER BYp0_.views_countDESC,p0_.scheduled_atASC;