Bug 37740: Fix saved SQL reports tab switching
The tabs on the saved SQL report page are not really full tabs, they're just styled that way. There is only one tab "panel," and clicking each tab triggers a DataTable filter so that the tab only shows the relevant data. The problem with this setup is that when Bootstrap tries to "switch" tabs, it wants to hide the initial tab and then show the new one. There is no "new" one here. The attached patch solves this problem by adding a CSS rule to guided_reports_start.tt with higher specificity than our global CSS making the relevant tab pane visible at all times. To test, apply the patch and go to Reports -> Use saved. - If necessary, create multiple SQL reports and assign them to different report groups (Accounts, Acquisitions, Catalog, etc.). - Test that tab switching works: - The tab should be style as "active" after you click it. - The table of reports should be filtered to include only reports in the relevant report group. Signed-off-by: Chloe Zermatten <chloe.zermatten@ptfs-europe.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
e6a1d65c9a
commit
88f65287ef
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@
|
|||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
#tabs .tab-pane {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
[% Asset.css("css/reports.css") | $raw %]
|
||||
[% Asset.css("lib/d3c3/c3.min.css") | $raw %]
|
||||
|
|
Loading…
Reference in a new issue