@saooti/octopus-sdk 32.0.14 → 32.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -658,3 +658,6 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
658
658
  * 32.0.12 Merge 31
659
659
  * 32.0.13 Test Vite au lieu de Webpack
660
660
  * 32.0.14 Mise en place Vite au lieu de Webpack
661
+ * 32.0.15 Pb lié refactor
662
+ * 32.0.16 Pb lié refactor
663
+ * 32.0.17 AdvancedSearch components
package/index.ts CHANGED
@@ -27,31 +27,26 @@ import Popover from "./src/components/misc/Popover.vue";
27
27
  import CategoryChooser from "./src/components/display/categories/CategoryChooser.vue";
28
28
  import CategoryList from "./src/components/display/categories/CategoryList.vue";
29
29
  import CategoryFilter from "./src/components/display/categories/CategoryFilter.vue";
30
- /*import EditBox from "./src/components/display/edit/EditBox.vue"; */
31
30
  import EmissionChooser from "./src/components/display/emission/EmissionChooser.vue";
32
- /* import EmissionItem from "./src/components/display/emission/EmissionItem.vue"; */
33
31
  import EmissionList from "./src/components/display/emission/EmissionList.vue";
34
- /*import MonetizableFilter from "./src/components/display/filter/MonetizableFilter.vue";
35
- import ProductorSearch from "./src/components/display/filter/ProductorSearch.vue";*/
36
- import AdvancedSearch from "./src/components/display/filter/AdvancedSearch.vue";
37
32
  import OrganisationChooser from "./src/components/display/organisation/OrganisationChooser.vue";
38
- /*import ParticipantItem from "./src/components/display/participant/ParticipantItem.vue";
39
- import ParticipantList from "./src/components/display/participant/ParticipantList.vue";
40
- import AnimatorsItem from "./src/components/display/podcasts/AnimatorsItem.vue";*/
41
33
  import PodcastFilterList from "./src/components/display/podcasts/PodcastFilterList.vue";
42
- /*import PodcastImage from "./src/components/display/podcasts/PodcastImage.vue";*/
43
34
  import PodcastInlineList from "./src/components/display/podcasts/PodcastInlineList.vue";
44
- /*import PodcastItem from "./src/components/display/podcasts/PodcastItem.vue";*/
45
35
  import PodcastList from "./src/components/display/podcasts/PodcastList.vue";
46
36
  import ShareButtons from "./src/components/display/sharing/ShareButtons.vue";
47
- /*import ShareDistribution from "./src/components/display/sharing/ShareDistribution.vue";
48
- import SharePlayer from "./src/components/display/sharing/SharePlayer.vue"; */
49
37
  import EmissionInlineList from "./src/components/display/emission/EmissionInlineList.vue";
50
38
  import RubriqueChooser from "./src/components/display/rubriques/RubriqueChooser.vue";
51
39
  import CommentList from "./src/components/display/comments/CommentList.vue";
52
40
  import CommentInput from "./src/components/display/comments/CommentInput.vue";
53
41
  import PodcastPlaylistInlineList from "./src/components/display/playlist/PodcastPlaylistInlineList.vue";
54
42
 
43
+ //AdvancedSearch
44
+ import AdvancedSearch from "./src/components/display/filter/AdvancedSearch.vue";
45
+ import CategorySearchFilter from "./src/components/display/filter/CategorySearchFilter.vue";
46
+ import RubriqueFilter from "./src/components/display/filter/RubriqueFilter.vue";
47
+ import DateFilter from "./src/components/display/filter/DateFilter.vue";
48
+ import SearchOrder from "./src/components/display/filter/SearchOrder.vue";
49
+
55
50
  //form
56
51
  import ClassicSearch from "./src/components/form/ClassicSearch.vue";
57
52
  import ClassicCheckbox from "./src/components/form/ClassicCheckbox.vue";
@@ -122,9 +117,12 @@ const components = {
122
117
  ClassicSelect,
123
118
  Error403Page,
124
119
  Paginate,
125
- ListPaginate
120
+ ListPaginate,
121
+ CategorySearchFilter,
122
+ RubriqueFilter,
123
+ DateFilter,
124
+ SearchOrder
126
125
  }
127
-
128
126
  export default components;
129
127
 
130
128
  export {
@@ -180,5 +178,9 @@ export {
180
178
  ClassicSelect,
181
179
  Error403Page,
182
180
  Paginate,
183
- ListPaginate
181
+ ListPaginate,
182
+ CategorySearchFilter,
183
+ RubriqueFilter,
184
+ DateFilter,
185
+ SearchOrder
184
186
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "32.0.14",
3
+ "version": "32.0.17",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -136,7 +136,7 @@ export default defineComponent({
136
136
  }
137
137
  },
138
138
  organisation(): string|undefined {
139
- return this.organisationId ?? this.$store.state.filter.organisationId;
139
+ return this.organisationId ?this.organisationId:this.$store.state.filter.organisationId;
140
140
  },
141
141
  },
142
142
  watch: {
@@ -23,68 +23,17 @@
23
23
  :is-emission="isEmission"
24
24
  @updateMonetization="updateMonetization"
25
25
  />
26
- <CategoryFilter @updateCategory="updateCategory" />
26
+ <CategorySearchFilter @updateCategory="updateCategory" />
27
27
  <RubriqueFilter
28
28
  :reset-rubriquage="resetRubriquage"
29
29
  :organisation-id="organisationId"
30
30
  @updateRubriquageFilter="updateRubriquageFilter"
31
31
  />
32
- <div class="d-flex mt-3 align-items-center flex-wrap">
33
- <div
34
- v-if="isEmission"
35
- class="me-2"
36
- >
37
- {{ $t('Emission with episode published :') }}
38
- </div>
39
- <div class="d-flex align-items-center">
40
- <ClassicCheckbox
41
- v-model:textInit="isFrom"
42
- class="flex-shrink-0"
43
- id-checkbox="search-from-checkbox"
44
- :label="$t('From the :')"
45
- />
46
- <DatePicker
47
- v-model="fromDate"
48
- class="ps-3 pe-3"
49
- mode="dateTime"
50
- color="green"
51
- is24hr
52
- @update:modelValue="updateFromDate()"
53
- >
54
- <template #default="{ inputValue, inputEvents }">
55
- <input
56
- class="px-2 py-1 border rounded focus:border-blue-300"
57
- :value="inputValue"
58
- v-on="inputEvents"
59
- >
60
- </template>
61
- </DatePicker>
62
- </div>
63
- <div class="d-flex align-items-center">
64
- <ClassicCheckbox
65
- v-model:textInit="isTo"
66
- class="flex-shrink-0"
67
- id-checkbox="search-to-checkbox"
68
- :label="$t('To the :')"
69
- />
70
- <DatePicker
71
- v-model="toDate"
72
- class="ps-3"
73
- mode="dateTime"
74
- color="green"
75
- is24hr
76
- @update:modelValue="updateToDate()"
77
- >
78
- <template #default="{ inputValue, inputEvents }">
79
- <input
80
- class="px-2 py-1 border rounded focus:border-blue-300"
81
- :value="inputValue"
82
- v-on="inputEvents"
83
- >
84
- </template>
85
- </DatePicker>
86
- </div>
87
- </div>
32
+ <DateFilter
33
+ :isEmission="isEmission"
34
+ @updateToDate="updateToDate"
35
+ @updateFromDate="updateFromDate"
36
+ />
88
37
  <div
89
38
  v-if="organisation && organisationRight && !isPodcastmaker"
90
39
  class="d-flex flex-column mt-3"
@@ -113,14 +62,11 @@
113
62
  <div class="primary-darker mb-2">
114
63
  {{ $t('Sort') }}
115
64
  </div>
116
- <ClassicRadio
117
- v-model:textInit="sort"
118
- id-radio="sort-radio"
119
- :options="isSearchBar? [{title:$t('Sort score'), value:'SCORE'},
120
- {title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
121
- {title:$t('Sort name'), value:'NAME'}]:
122
- [{title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
123
- {title:$t('Sort name'), value:'NAME'}]"
65
+ <SearchOrder
66
+ :isEmission="isEmission"
67
+ :isSearchBar="isSearchBar"
68
+ :sortCriteria="sortCriteria"
69
+ @updateSortCriteria="updateSortCriteria"
124
70
  />
125
71
  </div>
126
72
  </div>
@@ -130,23 +76,24 @@
130
76
  <script lang="ts">
131
77
  import { state } from '../../../store/paramStore';
132
78
  import { orgaComputed } from '../../mixins/orgaComputed';
133
- import moment from 'moment';
134
- import CategoryFilter from './CategoryFilter.vue';
79
+ import CategorySearchFilter from './CategorySearchFilter.vue';
80
+ import DateFilter from './DateFilter.vue';
81
+ import SearchOrder from './SearchOrder.vue';
135
82
  import RubriqueFilter from './RubriqueFilter.vue';
136
83
  import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
137
84
  import ClassicRadio from '../../form/ClassicRadio.vue';
138
85
  import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
139
- import { DatePicker } from 'v-calendar';
140
86
  import { defineComponent, defineAsyncComponent } from 'vue';
141
87
  const MonetizableFilter = defineAsyncComponent(() => import('./MonetizableFilter.vue'));
142
88
  export default defineComponent({
143
89
  components: {
144
90
  MonetizableFilter,
145
- DatePicker,
146
- CategoryFilter,
91
+ CategorySearchFilter,
147
92
  RubriqueFilter,
148
93
  ClassicCheckbox,
149
- ClassicRadio
94
+ ClassicRadio,
95
+ DateFilter,
96
+ SearchOrder
150
97
  },
151
98
  mixins: [orgaComputed],
152
99
  props: {
@@ -169,14 +116,9 @@ export default defineComponent({
169
116
  'updateRubriquageFilter'],
170
117
  data() {
171
118
  return {
172
- isFrom: false as boolean,
173
- isTo: false as boolean,
174
- fromDate: moment().subtract(10, 'days').toISOString() as string,
175
- toDate: moment().toISOString() as string,
176
119
  isNotVisible: this.includeHidden as boolean,
177
120
  isNotValidate: false as boolean,
178
121
  showFilters: false as boolean,
179
- sort: this.sortCriteria as string,
180
122
  };
181
123
  },
182
124
 
@@ -219,58 +161,19 @@ export default defineComponent({
219
161
  organisation(): void {
220
162
  this.isNotVisible = undefined!==this.organisation && this.organisationRight && !this.isEmission;
221
163
  },
222
- isFrom(): void {
223
- this.$emit('updateFromDate', this.isFrom ? moment(this.fromDate).toISOString(true) : undefined);
224
- },
225
- isTo(): void {
226
- this.$emit('updateToDate', this.isTo ? moment(this.toDate).toISOString(true) : undefined);
227
- },
228
- sort(): void {
229
- this.$emit('updateSortCriteria', this.sort);
230
- },
231
164
  isNotVisible(): void{
232
165
  this.$emit('includeHidden', this.isNotVisible);
233
166
  },
234
167
  isNotValidate(): void {
235
168
  this.$emit('notValid', this.isNotValidate);
236
169
  },
237
- sortCriteria(): void {
238
- this.sort = this.sortCriteria;
239
- },
240
170
  },
241
171
  methods: {
242
- updateFromDate(): void {
243
- if (
244
- moment(this.fromDate)
245
- .startOf('minute')
246
- .toISOString() ===
247
- moment()
248
- .subtract(10, 'days')
249
- .startOf('minute')
250
- .toISOString()
251
- )
252
- return;
253
- if (this.isFrom) {
254
- this.$emit('updateFromDate', moment(this.fromDate).toISOString(true));
255
- } else {
256
- this.isFrom = true;
257
- }
172
+ updateFromDate(value: string): void {
173
+ this.$emit('updateFromDate', value);
258
174
  },
259
- updateToDate(): void {
260
- if (
261
- moment(this.toDate)
262
- .startOf('minute')
263
- .toISOString() ===
264
- moment()
265
- .startOf('minute')
266
- .toISOString()
267
- )
268
- return;
269
- if (this.isTo) {
270
- this.$emit('updateToDate', moment(this.toDate).toISOString(true));
271
- } else {
272
- this.isTo = true;
273
- }
175
+ updateToDate(value: string): void {
176
+ this.$emit('updateToDate', value);
274
177
  },
275
178
  updateMonetization(value: string): void {
276
179
  this.$emit('updateMonetization', value);
@@ -281,6 +184,9 @@ export default defineComponent({
281
184
  updateRubriquageFilter(value: Array<RubriquageFilter>){
282
185
  this.$emit('updateRubriquageFilter', value);
283
186
  },
187
+ updateSortCriteria(value: string){
188
+ this.$emit('updateSortCriteria', value);
189
+ }
284
190
  },
285
191
  })
286
192
  </script>
@@ -0,0 +1,130 @@
1
+ <template>
2
+ <div class="d-flex mt-3 align-items-center flex-wrap">
3
+ <div
4
+ v-if="isEmission"
5
+ class="me-2"
6
+ >
7
+ {{ $t('Emission with episode published :') }}
8
+ </div>
9
+ <div class="d-flex align-items-center">
10
+ <ClassicCheckbox
11
+ v-model:textInit="isFrom"
12
+ class="flex-shrink-0"
13
+ id-checkbox="search-from-checkbox"
14
+ :label="$t('From the :')"
15
+ />
16
+ <DatePicker
17
+ v-model="fromDate"
18
+ class="ps-3 pe-3"
19
+ mode="dateTime"
20
+ color="green"
21
+ is24hr
22
+ @update:modelValue="updateFromDate()"
23
+ >
24
+ <template #default="{ inputValue, inputEvents }">
25
+ <input
26
+ class="px-2 py-1 border rounded focus:border-blue-300"
27
+ :value="inputValue"
28
+ v-on="inputEvents"
29
+ >
30
+ </template>
31
+ </DatePicker>
32
+ </div>
33
+ <div class="d-flex align-items-center">
34
+ <ClassicCheckbox
35
+ v-model:textInit="isTo"
36
+ class="flex-shrink-0"
37
+ id-checkbox="search-to-checkbox"
38
+ :label="$t('To the :')"
39
+ />
40
+ <DatePicker
41
+ v-model="toDate"
42
+ class="ps-3"
43
+ mode="dateTime"
44
+ color="green"
45
+ is24hr
46
+ @update:modelValue="updateToDate()"
47
+ >
48
+ <template #default="{ inputValue, inputEvents }">
49
+ <input
50
+ class="px-2 py-1 border rounded focus:border-blue-300"
51
+ :value="inputValue"
52
+ v-on="inputEvents"
53
+ >
54
+ </template>
55
+ </DatePicker>
56
+ </div>
57
+ </div>
58
+
59
+ </template>
60
+
61
+ <script lang="ts">
62
+ import moment from 'moment';
63
+ import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
64
+ import { DatePicker } from 'v-calendar';
65
+ import { defineComponent } from 'vue';
66
+ export default defineComponent({
67
+ components: {
68
+ DatePicker,
69
+ ClassicCheckbox,
70
+ },
71
+ props: {
72
+ isEmission: { default: false, type: Boolean},
73
+ },
74
+
75
+ emits: ['updateToDate', 'updateFromDate'],
76
+
77
+ data() {
78
+ return {
79
+ isFrom: false as boolean,
80
+ isTo: false as boolean,
81
+ fromDate: moment().subtract(10, 'days').toISOString() as string,
82
+ toDate: moment().toISOString() as string,
83
+ };
84
+ },
85
+
86
+ watch: {
87
+ isFrom(): void {
88
+ this.$emit('updateFromDate', this.isFrom ? moment(this.fromDate).toISOString(true) : undefined);
89
+ },
90
+ isTo(): void {
91
+ this.$emit('updateToDate', this.isTo ? moment(this.toDate).toISOString(true) : undefined);
92
+ },
93
+ },
94
+ methods: {
95
+ updateFromDate(): void {
96
+ if (
97
+ moment(this.fromDate)
98
+ .startOf('minute')
99
+ .toISOString() ===
100
+ moment()
101
+ .subtract(10, 'days')
102
+ .startOf('minute')
103
+ .toISOString()
104
+ )
105
+ return;
106
+ if (this.isFrom) {
107
+ this.$emit('updateFromDate', moment(this.fromDate).toISOString(true));
108
+ } else {
109
+ this.isFrom = true;
110
+ }
111
+ },
112
+ updateToDate(): void {
113
+ if (
114
+ moment(this.toDate)
115
+ .startOf('minute')
116
+ .toISOString() ===
117
+ moment()
118
+ .startOf('minute')
119
+ .toISOString()
120
+ )
121
+ return;
122
+ if (this.isTo) {
123
+ this.$emit('updateToDate', moment(this.toDate).toISOString(true));
124
+ } else {
125
+ this.isTo = true;
126
+ }
127
+ },
128
+ },
129
+ })
130
+ </script>
@@ -72,7 +72,7 @@ export default defineComponent({
72
72
  return this.$store.state.filter.organisationId;
73
73
  },
74
74
  organisation(): string|undefined {
75
- return this.organisationId ?? this.filterOrga;
75
+ return this.organisationId ?this.organisationId: this.filterOrga;
76
76
  },
77
77
  rubriqueFilter(): Array<RubriquageFilter>{
78
78
  return this.$store.state.filter.rubriqueFilter;
@@ -0,0 +1,41 @@
1
+ <template>
2
+ <ClassicRadio
3
+ v-model:textInit="sort"
4
+ id-radio="sort-radio"
5
+ :options="isSearchBar? [{title:$t('Sort score'), value:'SCORE'},
6
+ {title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
7
+ {title:$t('Sort name'), value:'NAME'}]:
8
+ [{title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
9
+ {title:$t('Sort name'), value:'NAME'}]"
10
+ />
11
+ </template>
12
+
13
+ <script lang="ts">
14
+ import ClassicRadio from '../../form/ClassicRadio.vue';
15
+ import { defineComponent } from 'vue';
16
+ export default defineComponent({
17
+ components: {
18
+ ClassicRadio,
19
+ },
20
+ props: {
21
+ isEmission: { default: false, type: Boolean},
22
+ isSearchBar: { default: false, type: Boolean},
23
+ sortCriteria: { default: 'DATE', type: String},
24
+ },
25
+
26
+ emits: ['updateSortCriteria'],
27
+ data() {
28
+ return {
29
+ sort: this.sortCriteria as string,
30
+ };
31
+ },
32
+ watch: {
33
+ sort(): void {
34
+ this.$emit('updateSortCriteria', this.sort);
35
+ },
36
+ sortCriteria(): void {
37
+ this.sort = this.sortCriteria;
38
+ },
39
+ },
40
+ })
41
+ </script>
@@ -80,7 +80,7 @@ export default defineComponent({
80
80
  return this.loaded && !this.livesArray[0].lives.length && !this.livesArray[2].lives.length && !this.livesArray[3].lives.length;
81
81
  },
82
82
  filterOrgaUsed(): string|undefined {
83
- return this.filterOrga??this.organisationId;
83
+ return this.filterOrga?this.filterOrga:this.organisationId;
84
84
  },
85
85
  filterOrga(): string {
86
86
  return this.$store.state.filter.organisationId;
@@ -75,7 +75,7 @@ export default defineComponent({
75
75
  return this.participants.slice(this.dfirst, Math.min(this.dfirst + this.dsize,this.totalCount));
76
76
  },
77
77
  organisation(): string|undefined {
78
- return this.organisationId??this.$store.state.filter.organisationId;
78
+ return this.organisationId?this.organisationId:this.$store.state.filter.organisationId;
79
79
  },
80
80
  },
81
81
  watch: {
@@ -80,7 +80,7 @@ export default defineComponent({
80
80
  return !this.query ?'NAME': 'SCORE';
81
81
  },
82
82
  organisation(): string|undefined {
83
- return this.organisationId ?? this.$store.state.filter.organisationId;
83
+ return this.organisationId ?this.organisationId: this.$store.state.filter.organisationId;
84
84
  },
85
85
  },
86
86
  watch: {
@@ -111,7 +111,7 @@ export default defineComponent({
111
111
  return this.$store.state.filter.organisationId;
112
112
  },
113
113
  organisation(): string|undefined {
114
- return this.organisationId ?? this.filterOrga;
114
+ return this.organisationId ?this.organisationId: this.filterOrga;
115
115
  },
116
116
  previousAvailable(): boolean {
117
117
  return this.index > 0;
@@ -96,7 +96,7 @@ export default defineComponent({
96
96
  ${this.rubriqueId}|${this.rubriquageId}|${this.before}|${this.after}|${this.includeHidden}|${this.noRubriquageId}|${this.notValid}`;
97
97
  },
98
98
  organisation(): string|undefined {
99
- return this.organisationId ?? this.$store.state.filter.organisationId;
99
+ return this.organisationId ?this.organisationId: this.$store.state.filter.organisationId;
100
100
  },
101
101
  sort(): string {
102
102
  return this.popularSort? "POPULARITY" : this.sortCriteria??'DATE';
@@ -95,7 +95,7 @@ export default defineComponent({
95
95
  return this.$store.state.filter.organisationId;
96
96
  },
97
97
  organisation(): string|undefined {
98
- return this.organisationId ?? this.filterOrga;
98
+ return this.organisationId ?this.organisationId: this.filterOrga;
99
99
  },
100
100
  watchVariable():string{
101
101
  return `${this.emissionId}|${this.organisationId}|${this.filterOrga}|${this.iabId}|${this.rubriqueId}|${this.rubriquageId}|${this.query}`;
@@ -4,6 +4,7 @@
4
4
  id="footer"
5
5
  ref="footer"
6
6
  class="d-flex-column p-3 secondary-bg border-top"
7
+ v-if="displayFooter"
7
8
  >
8
9
  <div class="d-flex flex-column flex-grow-1 align-items-end">
9
10
  <div class="d-flex flex-column">
@@ -97,7 +98,6 @@ import Player from './player/Player.vue';
97
98
  import { state } from '../../store/paramStore';
98
99
  import {loadLocaleMessages} from '@/i18n';
99
100
  import octopusApi from '@saooti/octopus-api';
100
- import moment from 'moment';
101
101
  import { Category } from '@/store/class/general/category';
102
102
  import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
103
103
  import { defineComponent } from 'vue'
@@ -107,6 +107,10 @@ export default defineComponent({
107
107
  Player,
108
108
  ClassicSelect
109
109
  },
110
+ props: {
111
+ displayFooter: { default: true, type: Boolean},
112
+ },
113
+
110
114
  mixins:[cookies],
111
115
  data() {
112
116
  return {
@@ -158,7 +162,7 @@ export default defineComponent({
158
162
  },
159
163
  showBlackBorder(hide: boolean): void {
160
164
  const footerElement = (this.$refs.footer as HTMLElement);
161
- if(null===footerElement){return;}
165
+ if(!footerElement){return;}
162
166
  if (hide) {
163
167
  footerElement.classList.remove('border-round');
164
168
  } else {
@@ -96,7 +96,7 @@ export default defineComponent({
96
96
  true===state.generalParameters.isAdmin
97
97
  },
98
98
  organisation(): string|undefined {
99
- return this.organisationId??this.filterOrga;
99
+ return this.organisationId?this.organisationId:this.filterOrga;
100
100
  },
101
101
  },
102
102
 
@@ -106,7 +106,7 @@ export default defineComponent({
106
106
  methods: {
107
107
  initComponent(): void{
108
108
  this.iabId =this.$store.state.filter.iab?.id;
109
- this.organisationId = this.productor?? this.filterOrga;
109
+ this.organisationId = this.productor ?this.productor: this.filterOrga;
110
110
  if (this.organisation && this.organisationRight) {
111
111
  this.includeHidden = true;
112
112
  }
@@ -47,7 +47,7 @@ export default defineComponent({
47
47
  },
48
48
  },
49
49
  created() {
50
- this.organisationId = this.productor??this.filterOrga;
50
+ this.organisationId = this.productor ?this.productor: this.filterOrga;
51
51
  },
52
52
  })
53
53
  </script>
@@ -66,7 +66,7 @@ export default defineComponent({
66
66
  },
67
67
 
68
68
  created() {
69
- this.organisationId = this.productor ??this.filterOrga;
69
+ this.organisationId = this.productor ?this.productor: this.filterOrga;;
70
70
  },
71
71
  })
72
72
  </script>
@@ -117,7 +117,7 @@ export default defineComponent({
117
117
  true===state.generalParameters.isAdmin;
118
118
  },
119
119
  organisation(): string|undefined {
120
- return this.organisationId ?? this.filterOrga;
120
+ return this.organisationId ?this.organisationId: this.filterOrga;
121
121
  },
122
122
  pageParameters(){
123
123
  return {
@@ -134,7 +134,7 @@ export default defineComponent({
134
134
  methods: {
135
135
  initPodcastsPage(){
136
136
  this.searchPattern = this.searchInit ?? '';
137
- this.organisationId = this.productor ?? this.filterOrga;
137
+ this.organisationId = this.productor ?this.productor: this.filterOrga;
138
138
  this.includeHidden = this.organisation && this.organisationRight ? true : false;
139
139
  this.iabId =this.$store.state.filter.iab?.id;
140
140
  if(this.$store.state.filter.rubriqueFilter.length){
@@ -22,7 +22,7 @@ const state:paramStore = {
22
22
  isInlineAnimation:true,
23
23
  },
24
24
  podcastPage: {
25
- EditBox: false,
25
+ EditBox: true,
26
26
  SharePlayer: true,
27
27
  ShareButtons: true,
28
28
  ShareDistribution: true,