Item10310: Enhancement/Patch: Add COLUMNWIDTHS support to RenderTableSearchResults
Priority: Enhancement
Current State: New
Released In: n/a
Target Release: patch
RenderTableSearchResults currently ignores the COLUMNWIDTHS preference when rendering the table for searches on Classification pages.
This simple one-line patch adds support for COLUMNWIDTHS.
--- RenderTableSearchResults.txt
+++ RenderTableSearchResults.new.txt
@@ -33,7 +33,7 @@
~~~ then="$percntINITLIMIT$percnt" else="all" glue="off"}%"
~~~ FACETS="%IFDEFINED{"%FACETS%" glue="off"}%"
~~~ }%
-%TABLE{tablewidth="100%" columnwidths=",,,50px"}%
+%TABLE{tablewidth="100%" columnwidths="%IFDEFINED{"%COLUMNWIDTHS%" then="$test" else=",,,50px" glue="off" }%" }%
%~~ DBQUERY{
*~~
%~~ DBCALL{"%TCAOWEB%.RenderSearchString"
--
RobertJacobson - 01 Feb 2011