Visitar URL original
Extract shared table search form logic to SearchForm by kamil-tekiela · Pull Request #20586 · phpmyadmin/phpmyadmin · GitHub
Skip to content

Extract shared table search form logic to SearchForm - #20586

Open
kamil-tekiela wants to merge 1 commit into
phpmyadmin:masterfrom
kamil-tekiela:SearchColumns
Open

kamil-tekiela wants to merge 1 commit into
phpmyadmin:masterfrom
kamil-tekiela:SearchColumns

Conversation

@kamil-tekiela

Copy link
Copy Markdown
Contributor

SearchController and ZoomSearchController had identical copies of loadTableInfo() and getColumnProperties(). The column data is now a SearchColumns value object passed as a parameter instead of mutable controller properties.

ZoomSearchController::changeTableInfoAction() no longer throws a TypeError when the requested field is not a column of the table.

SearchController and ZoomSearchController had identical copies of
loadTableInfo() and getColumnProperties(). The column data is now a
SearchColumns value object passed as a parameter instead of mutable
controller properties.

ZoomSearchController::changeTableInfoAction() no longer throws a
TypeError when the requested field is not a column of the table.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 7.97101% with 127 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.72%. Comparing base (6016908) to head (10e68cd).

Files with missing lines Patch % Lines
src/Table/SearchForm.php 0.00% 96 Missing ⚠️
src/Controllers/Table/ZoomSearchController.php 35.71% 18 Missing ⚠️
src/Controllers/Table/SearchController.php 7.69% 12 Missing ⚠️
src/Table/SearchColumns.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #20586      +/-   ##
============================================
- Coverage     64.81%   64.72%   -0.09%     
+ Complexity    16047    16037      -10     
============================================
  Files           681      683       +2     
  Lines         57562    57494      -68     
============================================
- Hits          37306    37215      -91     
- Misses        20256    20279      +23     
Flag Coverage Δ
dbase-extension 64.69% <7.97%> (-0.10%) ⬇️
unit-8.2 64.66% <7.97%> (-0.12%) ⬇️
unit-8.3 64.63% <7.97%> (-0.14%) ⬇️
unit-8.4 64.68% <7.97%> (-0.09%) ⬇️
unit-8.5 64.68% <7.97%> (-0.04%) ⬇️
unit-8.6 64.68% <7.97%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant