Skip to content

Datatables searchpanes structured queries#986

Merged
thomas-topway-it merged 30 commits intoSemanticMediaWiki:masterfrom
Knowledge-Wiki:datatables-searchpanes-structured-queries
Dec 24, 2025
Merged

Datatables searchpanes structured queries#986
thomas-topway-it merged 30 commits intoSemanticMediaWiki:masterfrom
Knowledge-Wiki:datatables-searchpanes-structured-queries

Conversation

@thomas-topway-it
Copy link
Contributor

Structured queries for Datatables SearchPanes (backwards compatibility)

-- considers #942
-- fixes #910
-- uses structured queries instead of raw joins in the from clause
-- considers #975 (this solution will be used in a next pull request for SMW versions after this PR SemanticMediaWiki/SemanticMediaWiki#5715)

thomas-topway-it and others added 30 commits August 24, 2025 03:15
* use structured queries

* fix phpcs

* fix phpcs

* remove commented line

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* use QuerySegmentListProcessor

* Create QuerySegmentListProcessor.php

* remove comment

* remove author

---------

Co-authored-by: translatewiki.net <[email protected]>
* use structured queries

* fix phpcs

* fix phpcs

* remove commented line

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* use QuerySegmentListProcessor

* Create QuerySegmentListProcessor.php

* remove comment

* remove author

* fix phpcs

* fix phpcs

---------

Co-authored-by: translatewiki.net <[email protected]>
@codecov
Copy link

codecov bot commented Dec 24, 2025

Codecov Report

❌ Patch coverage is 0% with 281 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.09%. Comparing base (493b060) to head (488fd7f).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
formats/datatables/QuerySegmentListProcessor.php 0.00% 168 Missing ⚠️
formats/datatables/SearchPanes.php 0.00% 113 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #986      +/-   ##
============================================
- Coverage     46.27%   45.09%   -1.19%     
- Complexity     2361     2422      +61     
============================================
  Files            80       81       +1     
  Lines          8962     9197     +235     
============================================
  Hits           4147     4147              
- Misses         4815     5050     +235     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@thomas-topway-it thomas-topway-it merged commit eda0973 into SemanticMediaWiki:master Dec 24, 2025
5 of 7 checks passed
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.

[datatables] Table name component contains unexpected quote or dot character with SearchPane

2 participants