mirror of
https://github.com/vrana/adminer.git
synced 2025-12-27 02:40:46 +01:00
fde7d7dde2ffd57f9e18cbc7328073ad8b34e95d
Result records in Elasticsearch do not always have all columns that are defined in an index. This often happens when multiple document types are stored in the same index. The first row has columns ["_id", "html", "url"], while the second misses the "html" column: ["_id", "url"]. Adminer expects that all result rows include all columns. This leads to the problem that the "url" value in the 2nd example row was rendered in the "html" column. This patch fixes this problem by fetching the actual column list first when all fields are to be shown, and using that field list as base for all rows.
Adminer - Database management in a single PHP file Adminer Editor - Data manipulation for end-users https://www.adminer.org/ Supports: MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, MongoDB, Elasticsearch (plugin), SimpleDB (plugin), Firebird (plugin), ClickHouse (plugin) Requirements: PHP 5.3+ adminer/index.php - Run development version of Adminer editor/index.php - Run development version of Adminer Editor editor/example.php - Example customization plugins/readme.txt - Plugins for Adminer and Adminer Editor adminer/plugin.php - Plugin demo adminer/sqlite.php - Development version of Adminer with SQLite allowed editor/sqlite.php - Development version of Editor with SQLite allowed adminer/designs.php - Development version of Adminer with adminer.css switcher compile.php - Create a single file version lang.php - Update translations tests/katalon.html - Katalon Automation Recorder test suite If downloaded from Git then run: git submodule update --init
Languages
PHP
67.9%
CSS
22.2%
HTML
7.7%
JavaScript
2.2%