Explorar o código

V8-6873 : correction pour prendre en compte les dates de publications dans les filtres de sécurité plutot que la visibility

Vincent hai 1 ano
pai
achega
bc23a3c0db
Modificáronse 3 ficheiros con 1 adicións e 9 borrados
  1. 1 3
      components/News/List.client.vue
  2. 0 3
      models/Maestro/JobPosting.ts
  3. 0 3
      models/Maestro/News.ts

+ 1 - 3
components/News/List.client.vue

@@ -107,9 +107,7 @@ const page: Ref<number> = ref(1)
 const query: ComputedRef<Record<string, string | number>> = computed(() => {
   return {
     page: page.value,
-    type: 'BUSINESS',
-    'startPublication[before]': 'now',
-    'endPublication[after]': 'now',
+    type: 'BUSINESS'
   }
 })
 

+ 0 - 3
models/Maestro/JobPosting.ts

@@ -59,7 +59,4 @@ export default class JobPosting extends ApiModel {
 
   @Bool(false)
   declare clientOpentalent: boolean
-
-  @Bool(false)
-  declare visible: boolean
 }

+ 0 - 3
models/Maestro/News.ts

@@ -69,9 +69,6 @@ export default class News extends ApiModel {
   @Attr([])
   declare tags: string[]
 
-  @Bool(false)
-  declare visible: boolean
-
   @Str(null)
   declare linkButton: string
 }