Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14836681
D12784.id30731.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12784.id30731.diff
View Options
diff --git a/src/view/control/AphrontTableView.php b/src/view/control/AphrontTableView.php
--- a/src/view/control/AphrontTableView.php
+++ b/src/view/control/AphrontTableView.php
@@ -124,6 +124,7 @@
$visibility = array_values($this->columnVisibility);
$device_visibility = array_values($this->deviceVisibility);
+
$headers = $this->headers;
$short_headers = $this->shortHeaders;
$sort_values = $this->sortValues;
@@ -235,12 +236,16 @@
if ($data) {
$row_num = 0;
foreach ($data as $row) {
+ $row_size = count($row);
while (count($row) > count($col_classes)) {
$col_classes[] = null;
}
while (count($row) > count($visibility)) {
$visibility[] = true;
}
+ while (count($row) > count($device_visibility)) {
+ $device_visibility[] = true;
+ }
$tr = array();
// NOTE: Use of a separate column counter is to allow this to work
// correctly if the row data has string or non-sequential keys.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 1, 4:02 AM (14 h, 57 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7080709
Default Alt Text
D12784.id30731.diff (1 KB)
Attached To
Mode
D12784: Fix conduit result tables on mobile views
Attached
Detach File
Event Timeline
Log In to Comment