-Poter entrare nel login anche con l'username Telegram !
- Se clicchi sulla foto, mi apre il profilo anzichè l'invio dei RIS - ++ Filtro sulle ricerche: Scegliere un Circuito specifico. - Nella lista iscritti compaiono anche i cancellati... - n "Attività" si vede tutto allargato, non sta nella dimensione della pagina. - Nelle notifiche della campanellina non si vede più il titolo... (è vuoto). - Non funziona il Filtro per Settore (nella Home sugli Eventi) - Filtri avanzati da mostrare solo se clicco sul bottone. - I menu in basso non funzionano ! - Nel menu "Iscritti" del circuito, non compare più la ricerca ! Riattivarla - Opzione di mandare una email quando uno si registra al Circuito - ++ Opzione per il Circuito: Chiedi di entrare agli admin (e non in automatico).
This commit is contained in:
@@ -396,6 +396,7 @@ export default defineComponent({
|
||||
const myMapComp = ref(<any>null)
|
||||
|
||||
const tablesel = ref('')
|
||||
const showfilteradv = ref(false)
|
||||
const showSpin = ref(false)
|
||||
const showNotification = ref(false)
|
||||
|
||||
@@ -914,6 +915,15 @@ export default defineComponent({
|
||||
arrfilter_provices.push({ key: 'reg', value: idRegion })
|
||||
}
|
||||
|
||||
} else if (item.table === 'circuits') {
|
||||
const myfield = tools.getFieldSearchByTable(mytable.value, item.table, 'profile.mycircuits.circuitname')
|
||||
obj[myfield] = item.value
|
||||
if (myfield) {
|
||||
if (item.value !== '' && item.value !== costanti.FILTER_TUTTI) {
|
||||
filtersearch3and.push({ "profile.mycircuits.circuitname": item.value.name })
|
||||
}
|
||||
}
|
||||
|
||||
} else if (item.table === 'provinces') {
|
||||
|
||||
const myfield = tools.getFieldSearchByTable(mytable.value, item.table, 'mycities.prov')
|
||||
@@ -1373,6 +1383,28 @@ export default defineComponent({
|
||||
|
||||
// console.log('REFRESH!')
|
||||
|
||||
// Controllo se la Regione è su Tutti, allora la provincia e comune devono andare vuoti
|
||||
if (searchList.value) {
|
||||
const filtroRegioni = searchList.value.find((myrec) => myrec.table === toolsext.TABREGIONS) // check if exist
|
||||
if (filtroRegioni && filtroRegioni.value === costanti.FILTER_TUTTI) {
|
||||
const filtroProv = searchList.value.find((myrec) => myrec.table === toolsext.TABPROVINCE) // check if exist
|
||||
if (filtroProv) {
|
||||
filtroProv.value = costanti.FILTER_TUTTI
|
||||
tools.setCookie(tools.COOK_SEARCH + costanti.FILTER_SEP + mytable.value + costanti.FILTER_SEP + toolsext.TABPROVINCE, filtroProv.value)
|
||||
}
|
||||
}
|
||||
/*const filtroCircuito = searchList.value.find((myrec) => myrec.table === 'circuits')
|
||||
if (filtroCircuito && filtroCircuito.value !== costanti.FILTER_TUTTI) {
|
||||
const filtroProv = searchList.value.find((myrec) => myrec.table === toolsext.TABPROVINCE) // check if exist
|
||||
if (filtroProv && filtroRegioni) {
|
||||
filtroRegioni.value = costanti.FILTER_TUTTI
|
||||
filtroProv.value = costanti.FILTER_TUTTI
|
||||
tools.setCookie(tools.COOK_SEARCH + costanti.FILTER_SEP + mytable.value + costanti.FILTER_SEP + toolsext.TABREGIONS, filtroRegioni.value)
|
||||
tools.setCookie(tools.COOK_SEARCH + costanti.FILTER_SEP + mytable.value + costanti.FILTER_SEP + toolsext.TABPROVINCE, filtroProv.value)
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
startsearch.value = true
|
||||
|
||||
serverData.value = []
|
||||
@@ -1680,7 +1712,7 @@ export default defineComponent({
|
||||
myvertical.value = props.vertical
|
||||
|
||||
if (props.prop_search) {
|
||||
showfilter.value = props.prop_showfilter || (tools.getCookie('s_adv', '0') !== '0')
|
||||
showfilter.value = props.prop_showfilter || true
|
||||
} else {
|
||||
showfilter.value = props.prop_showfilter
|
||||
}
|
||||
@@ -1693,7 +1725,7 @@ export default defineComponent({
|
||||
const checkScrollPosition = () => {
|
||||
// console.log('checkScrollPosition')
|
||||
const container = carouselTabRef.value
|
||||
if (!container ) return
|
||||
if (!container) return
|
||||
|
||||
if (!addEventScroll.value && carouselTabRef.value) {
|
||||
carouselTabRef.value?.addEventListener('scroll', checkScrollPosition)
|
||||
@@ -1706,10 +1738,10 @@ export default defineComponent({
|
||||
console.log('carouselTabRef NO !')
|
||||
}
|
||||
console.log(' .... >>> AVANTI ', container.scrollLeft, container.clientWidth)
|
||||
|
||||
|
||||
isAtStart.value = container.scrollLeft <= 0
|
||||
isAtEnd.value = container.scrollLeft + container.clientWidth >= container.scrollWidth - 1
|
||||
|
||||
|
||||
if (serverData.value.length > 0) { // Assicurarsi che ci siano elementi
|
||||
console.log('entro dentro...')
|
||||
const cardWidth = container.scrollWidth / serverData.value.length
|
||||
@@ -1727,7 +1759,7 @@ export default defineComponent({
|
||||
behavior: 'smooth',
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
function mounted() {
|
||||
// console.log('mounted...')
|
||||
try {
|
||||
@@ -2656,7 +2688,7 @@ export default defineComponent({
|
||||
function handleTransition(newVal: any, oldVal: any) {
|
||||
// Se siamo vicini alla fine degli elementi caricati, carichiamo altri elementi
|
||||
if (serverData.value.length - newVal <= 2 && !loading.value) {
|
||||
onLoadScroll(newVal, () => {})
|
||||
onLoadScroll(newVal, () => { })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2667,7 +2699,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
loading.value = true
|
||||
|
||||
|
||||
try {
|
||||
refresh_infscroll(done)
|
||||
} catch (error) {
|
||||
@@ -2687,7 +2719,7 @@ export default defineComponent({
|
||||
autoplay.value = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const stopAutoplay = () => {
|
||||
if (autoplayInterval.value) {
|
||||
clearInterval(autoplayInterval.value)
|
||||
@@ -2695,7 +2727,7 @@ export default defineComponent({
|
||||
}
|
||||
autoplay.value = false
|
||||
}
|
||||
|
||||
|
||||
const onIntersection = (entry: any) => {
|
||||
if (entry.isIntersecting) {
|
||||
// console.log('PARTITO INTERSECTION!')
|
||||
@@ -2705,7 +2737,7 @@ export default defineComponent({
|
||||
stopAutoplay()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
created()
|
||||
|
||||
@@ -2833,7 +2865,7 @@ export default defineComponent({
|
||||
isAtStart,
|
||||
isAtEnd,
|
||||
activeIndex,
|
||||
scroll,
|
||||
scroll,
|
||||
slideGridOriz,
|
||||
autoplay,
|
||||
onUpdateData,
|
||||
@@ -2841,6 +2873,7 @@ export default defineComponent({
|
||||
handleTransition,
|
||||
loadMore,
|
||||
onIntersection,
|
||||
showfilteradv,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user