Skip to content

Commit 35f7ca9

Browse files
jasonpriemclaude
andcommitted
Facets: filter action for the metrics family on funders/institutions/publishers (oxjob #572)
Strict GUI==OQL filter parity (Jason's call 2026-07-06): h-index / i10-index / 2-year mean citedness become filterable on funders, institutions, and publishers (facets already existed as sort/column or display-only), plus works_count / cited_by_count / awards_count on funders. The OQL side curates the summary_stats trio as first-class fields and scrubs the identifier tail in the same ship. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4bca8d8 commit 35f7ca9

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/facetConfigs.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,7 +1937,7 @@ const facetConfigs = function (entityType) {
19371937
displayName: "awards count",
19381938
type: "range",
19391939
category: "citation",
1940-
actions: ["sort", "column"],
1940+
actions: ["filter", "sort", "column"],
19411941
actionsPopular: ["sort", "column"],
19421942
icon: "mdi-cash-multiple",
19431943
extractFn: (entity) => entity.awards_count,
@@ -1948,7 +1948,7 @@ const facetConfigs = function (entityType) {
19481948
displayName: "works count",
19491949
type: "range",
19501950
category: "citation",
1951-
actions: ["sort", "column"],
1951+
actions: ["filter", "sort", "column"],
19521952
actionsPopular: ["sort", "column"],
19531953
icon: "mdi-file-document-outline",
19541954
extractFn: (entity) => entity.works_count,
@@ -1959,7 +1959,7 @@ const facetConfigs = function (entityType) {
19591959
displayName: "citation count",
19601960
type: "range",
19611961
category: "citation",
1962-
actions: ["sort", "column"],
1962+
actions: ["filter", "sort", "column"],
19631963
actionsPopular: ["sort", "column"],
19641964
icon: "mdi-format-quote-close",
19651965
extractFn: (entity) => entity.cited_by_count,
@@ -1970,7 +1970,7 @@ const facetConfigs = function (entityType) {
19701970
displayName: "2-year mean citedness",
19711971
type: "range",
19721972
category: "citation",
1973-
actions: ["sort", "column"],
1973+
actions: ["filter", "sort", "column"],
19741974
actionsPopular: [],
19751975
icon: "mdi-chart-line",
19761976
extractFn: (entity) => entity.summary_stats?.['2yr_mean_citedness'],
@@ -1981,7 +1981,7 @@ const facetConfigs = function (entityType) {
19811981
displayName: "h-index",
19821982
type: "range",
19831983
category: "citation",
1984-
actions: ["sort", "column"],
1984+
actions: ["filter", "sort", "column"],
19851985
actionsPopular: [],
19861986
icon: "mdi-chart-bar",
19871987
extractFn: (entity) => entity.summary_stats?.h_index,
@@ -1992,7 +1992,7 @@ const facetConfigs = function (entityType) {
19921992
displayName: "i10-index",
19931993
type: "range",
19941994
category: "citation",
1995-
actions: ["sort", "column"],
1995+
actions: ["filter", "sort", "column"],
19961996
actionsPopular: [],
19971997
icon: "mdi-chart-bar",
19981998
extractFn: (entity) => entity.summary_stats?.i10_index,
@@ -2236,7 +2236,7 @@ const facetConfigs = function (entityType) {
22362236
displayName: "2-year mean citedness",
22372237
type: "range",
22382238
category: "citation",
2239-
actions: ["sort", "column"],
2239+
actions: ["filter", "sort", "column"],
22402240
actionsPopular: [],
22412241
icon: "mdi-chart-line",
22422242
extractFn: (entity) => entity.summary_stats?.['2yr_mean_citedness'],
@@ -2247,7 +2247,7 @@ const facetConfigs = function (entityType) {
22472247
displayName: "h-index",
22482248
type: "range",
22492249
category: "citation",
2250-
actions: ["sort", "column"],
2250+
actions: ["filter", "sort", "column"],
22512251
actionsPopular: [],
22522252
icon: "mdi-chart-bar",
22532253
extractFn: (entity) => entity.summary_stats?.h_index,
@@ -2258,7 +2258,7 @@ const facetConfigs = function (entityType) {
22582258
displayName: "i10-index",
22592259
type: "range",
22602260
category: "citation",
2261-
actions: ["sort", "column"],
2261+
actions: ["filter", "sort", "column"],
22622262
actionsPopular: [],
22632263
icon: "mdi-chart-bar",
22642264
extractFn: (entity) => entity.summary_stats?.i10_index,
@@ -3308,7 +3308,7 @@ const facetConfigs = function (entityType) {
33083308
displayName: "2-year mean citedness",
33093309
type: "range",
33103310
category: "citation",
3311-
actions: [],
3311+
actions: ["filter"],
33123312
icon: "mdi-chart-line",
33133313
extractFn: (entity) => entity.summary_stats?.['2yr_mean_citedness'],
33143314
},
@@ -3318,7 +3318,7 @@ const facetConfigs = function (entityType) {
33183318
displayName: "h-index",
33193319
type: "range",
33203320
category: "citation",
3321-
actions: [],
3321+
actions: ["filter"],
33223322
icon: "mdi-chart-bar",
33233323
extractFn: (entity) => entity.summary_stats?.h_index,
33243324
},
@@ -3328,7 +3328,7 @@ const facetConfigs = function (entityType) {
33283328
displayName: "i10-index",
33293329
type: "range",
33303330
category: "citation",
3331-
actions: [],
3331+
actions: ["filter"],
33323332
icon: "mdi-chart-bar",
33333333
extractFn: (entity) => entity.summary_stats?.i10_index,
33343334
},

0 commit comments

Comments
 (0)