• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FAIRsharing / fairsharing.github.io / 24769584990

22 Apr 2026 08:57AM UTC coverage: 95.892% (-4.1%) from 100.0%
24769584990

push

github

web-flow
Merge pull request #2746 from FAIRsharing/dev

Dev

3653 of 3813 branches covered (95.8%)

Branch coverage included in aggregate %.

17344 of 18229 new or added lines in 282 files covered. (95.15%)

766 existing lines in 50 files now uncovered.

38617 of 40268 relevant lines covered (95.9%)

5.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.28
/src/views/AdvancedSearch/AdvancedSearchRecordsView.vue
1
<template>
2
  <v-main>
1✔
3
    <!--Jump to top arrow button -->
1✔
4
    <v-fade-transition v-if="getLoadingStatus">
1✔
5
      <JumpToTop v-if="scrollStatus" />
1✔
6
      <!--Loader-->
1✔
7
      <div>
1✔
8
        <v-overlay
1✔
9
          :model-value="getLoadingStatus"
1✔
10
          class="align-center justify-center"
1✔
11
          :absolute="false"
1✔
12
          opacity="0.8"
1✔
13
        >
14
          <Loaders />
1✔
15
        </v-overlay>
1✔
16
      </div>
1✔
17
    </v-fade-transition>
1✔
18
    <!--Search result -->
1✔
19
    <v-container fluid class="pa-0">
1✔
20
      <v-row v-if="$vuetify.display.mdAndDown">
1✔
21
        <v-col>
1✔
22
          <AdvancedSearchButtons />
1✔
23
        </v-col>
1✔
24
      </v-row>
1✔
25
      <v-row no-gutters>
1✔
26
        <!-- Advanced search selection left column-->
1✔
27
        <v-col
1✔
28
          v-if="$vuetify.display.lgAndUp"
1✔
29
          cols="12"
1✔
30
          lg="4"
1✔
31
          xl="3"
1✔
32
          class="d-flex mt-2 ml-2"
1✔
33
        >
34
          <AdvancedSearchSelection />
1✔
35
        </v-col>
1✔
36
        <!-- Advanced search result right column-->
1✔
37
        <v-col style="width: 66%">
1✔
38
          <AdvancedSearchResultTable />
1✔
39
        </v-col>
1✔
40
      </v-row>
1✔
41
    </v-container>
1✔
42
    <!--Dialog Box -->
1✔
43
    <AdvancedSearchDialogBox />
1✔
44

45
    <!--Save Search Stepper in Dialog Box -->
1✔
46
    <SaveSearchStepper />
1✔
47
  </v-main>
1✔
48
</template>
49
<script>
50
import { mapActions, mapGetters, mapState } from "vuex";
1✔
51

52
import JumpToTop from "@/components/Navigation/jumpToTop.vue";
1✔
53
import Loaders from "@/components/Navigation/Loaders.vue";
1✔
54
import AdvancedSearchDialogBox from "@/components/Records/Search/Input/AdvancedSearch/AdvancedSearchDialogBox.vue";
1✔
55
import SaveSearchStepper from "@/components/Records/Search/SaveSearch/SaveSearchStepper.vue";
1✔
56
import onScrollUtil from "@/utils/onScrollUtil";
1✔
57
import AdvancedSearchButtons from "@/views/AdvancedSearch/AdvancedSearchButtons.vue";
1✔
58
import AdvancedSearchResultTable from "@/views/AdvancedSearch/AdvancedSearchResultTable.vue";
1✔
59
import AdvancedSearchSelection from "@/views/AdvancedSearch/AdvancedSearchSelection.vue";
1✔
60

61
export default {
1✔
62
  name: "AdvancedSearchRecordsView",
1✔
63
  components: {
1✔
64
    AdvancedSearchDialogBox,
1✔
65
    JumpToTop,
1✔
66
    Loaders,
1✔
67
    AdvancedSearchResultTable,
1✔
68
    AdvancedSearchSelection,
1✔
69
    AdvancedSearchButtons,
1✔
70
    SaveSearchStepper,
1✔
71
  },
1✔
72
  mixins: [onScrollUtil],
1✔
73
  data() {
1✔
74
    return {
2✔
75
      offsetTop: 0,
2✔
76
    };
2✔
77
  },
1✔
78
  computed: {
1✔
79
    ...mapState("uiController", ["scrollStatus", "stickToTop"]),
1✔
80
    ...mapGetters("advancedSearch", [
1✔
81
      "getLoadingStatus",
1✔
82
      "getAdvancedSearchResponse",
1✔
83
    ]),
1✔
84
  },
1✔
85
  mounted() {
1✔
86
    window.addEventListener("scroll", () => {
2✔
UNCOV
87
      this.onScroll(this.getAdvancedSearchResponse);
×
88
    });
2✔
89
  },
1✔
90
  unmounted() {
1✔
91
    this.resetAdvancedSearchResponse();
2✔
92
    window.removeEventListener("scroll", () => {
2✔
UNCOV
93
      this.onScroll(this.getAdvancedSearchResponse);
×
94
    });
2✔
95
    this.setStickToTop(false);
2✔
96
    this.$store.dispatch("uiController/setGeneralUIAttributesAction", {
2✔
97
      drawerVisibilityState: false,
2✔
98
      headerVisibilityState: true,
2✔
99
    });
2✔
100
    this.resetUserDefinedTags();
2✔
101
    this.resetSubjects();
2✔
102
    this.resetRecords();
2✔
103
    this.resetOrganisations();
2✔
104
    this.resetSearchDomains();
2✔
105
    this.resetSearchTaxonomies();
2✔
106
    this.resetSearchLicences();
2✔
107
    this.resetSearchCountries();
2✔
108
  },
1✔
109
  methods: {
1✔
110
    ...mapActions("uiController", ["setStickToTop"]),
1✔
111
    ...mapActions("advancedSearch", ["resetAdvancedSearchResponse"]),
1✔
112
    ...mapActions("userDefinedTagsSearch", ["resetUserDefinedTags"]),
1✔
113
    ...mapActions("subjectSearch", ["resetSubjects"]),
1✔
114
    ...mapActions("recordTypes", ["resetRecords"]),
1✔
115
    ...mapActions("organisationSearch", ["resetOrganisations"]),
1✔
116
    ...mapActions("domainsSearch", ["resetSearchDomains"]),
1✔
117
    ...mapActions("taxonomiesSearch", ["resetSearchTaxonomies"]),
1✔
118
    ...mapActions("licencesSearch", ["resetSearchLicences"]),
1✔
119
    ...mapActions("countriesSearch", ["resetSearchCountries"]),
1✔
120
  },
1✔
121
};
1✔
122
</script>
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc