fix: trim '-' from property labels before calling DIProperty::newFromUserLabel#921
fix: trim '-' from property labels before calling DIProperty::newFromUserLabel#921simontaurus wants to merge 1 commit intoSemanticMediaWiki:masterfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #921 +/- ##
=========================================
Coverage 45.52% 45.52%
Complexity 2319 2319
=========================================
Files 80 80
Lines 9050 9050
=========================================
Hits 4120 4120
Misses 4930 4930 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
thomas-topway-it
left a comment
There was a problem hiding this comment.
is it sufficient to handle inverse properties ?
Unfortunately not. With search_panes disable, inverse properties are working fine. With search_panes enabled and this fix applied, the corresponding columns stay empty while the search pane shows the value of the forward relation value instead of the reverse => The correct property is selected but the query is not reversed. Is there a reason for all this custom SQL? Any chance to replace it with SMW Queries? |
|
@simontaurus actually not, I guess most of them can be replaced using the new or legacy MW query builder |
We probably should since this might also resolve #910, but I don't have the expertise needed to update the SQL queries in the DataTables implementation |
fixes #920