Skip to content

Commit

Permalink
Merge pull request #92 from vasgat/nomenclature-updates
Browse files Browse the repository at this point in the history
updates in nomenclature (Relationship_Answer -> Relationship)
  • Loading branch information
vasgat authored Dec 9, 2024
2 parents 308d977 + 6ab99e8 commit 79d0d27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion script/update_cached_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
urls = {
brand_answers: "https://wikirate.org/Answer/compact.json?limit=0&filter%5Bcompany_group%5D=~13479530&filter%5Bmetric_id%5D%5B%5D=6126450&filter%5Bmetric_id%5D%5B%5D=5780639&filter%5Bmetric_id%5D%5B%5D=5990097&filter%5Bmetric_id%5D%5B%5D=7624093&filter%5Bmetric_id%5D%5B%5D=7616258&filter%5Bmetric_id%5D%5B%5D=7616271&filter%5Byear%5D=latest",
brands: "https://wikirate.org/~13479530+Company.json?item=nucleus",
sub_brands: "https://wikirate.org/~5768810+Relationship_Answer.json?limit=999&filter%5Bcompany_group%5D=~13479530&filter%5Byear%5D=latest"
sub_brands: "https://wikirate.org/~5768810+Relationships.json?limit=999&filter%5Bcompany_group%5D=~13479530&filter%5Byear%5D=latest"
}

urls.each do |name, url|
Expand Down
2 changes: 1 addition & 1 deletion script/update_cached_data.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
curl "https://wikirate.org/Answer/compact.json?limit=0&filter%5Bcompany_group%5D=~13479530&filter%5Bmetric_id%5D%5B%5D=6126450&filter%5Bmetric_id%5D%5B%5D=5780639&filter%5Bmetric_id%5D%5B%5D=5990097&filter%5Bmetric_id%5D%5B%5D=7624093&filter%5Bmetric_id%5D%5B%5D=7616258&filter%5Bmetric_id%5D%5B%5D=7616271&filter%5Byear%5D=latest" -o /usr/share/nginx/html/content/brand_answers.json
curl "https://wikirate.org/~13479530+Company.json?item=nucleus" -o /usr/share/nginx/html/content/brands.json
curl "https://wikirate.org/~5768810+Relationship_Answer.json?limit=999&filter%5Bcompany_group%5D=~13479530&filter%5Byear%5D=latest" -o /usr/share/nginx/html/content/sub_brands.json
curl "https://wikirate.org/~5768810+Relationships.json?limit=999&filter%5Bcompany_group%5D=~13479530&filter%5Byear%5D=latest" -o /usr/share/nginx/html/content/sub_brands.json
2 changes: 1 addition & 1 deletion source/javascripts/site.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $.extend FC,
topic: "Filling the Gap"

subBrandsUrl = FC.apiSwitch "/content/sub_brands.json",
FC.apiUrl "~#{FC.metrics.hasBrands}+Relationship_Answer",
FC.apiUrl "~#{FC.metrics.hasBrands}+Relationships",
limit: 999
filter:
company_group: "~#{FC.companyGroup}"
Expand Down

0 comments on commit 79d0d27

Please sign in to comment.