Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #990 via introducting new global js variable #998

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

kouralex
Copy link
Contributor

This resolves #990 via the second method.

It would also be possible to use the json_encode() filter function to check out for (cast) the value of explicit_langcodes variable into a JS variable but in this PR I relied on Twig's direct interpretation of the firstly mentioned variable combined with a boolean-casting ternary operator.

@kouralex kouralex added this to the 2.7 milestone Jun 15, 2020
@kouralex kouralex requested a review from joelit June 15, 2020 05:36
@sonarcloud
Copy link

sonarcloud bot commented Jun 15, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Jun 15, 2020

Codecov Report

Merging #998 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #998   +/-   ##
=========================================
  Coverage     59.38%   59.38%           
  Complexity     1569     1569           
=========================================
  Files            32       32           
  Lines          4395     4395           
=========================================
  Hits           2610     2610           
  Misses         1785     1785           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f43c24...dc5cf30. Read the comment docs.

Copy link
Contributor

@joelit joelit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AJAX-loaded mapped properties do not respect skosmos:explicitLanguage setting
2 participants