I'm using the AttributeTableWidget with search results by setting <shareresults>true</shareresults> in the search widget config-filen. And I've added a line of code to the searchWidget from this post. Search results from different search layers are not displayed correctly. The attributes/fields in the Search-tab are set by the first search, when making a new search from another search layer the table is filled with a new set of rows, but it's the same fields so they are empty if the second search layer has different fieldnames than the first one.
For example, if I start to search from the layer Louisville Police Ficilities the result will display correctly in the table showing the attributes NAME and ADRESS. Then I make a new search from the Louisville Parcels and the table gets updated but still shows the NAME och ADRESS attributes which are empty since the Parcels doesn't have those attributes. There's a screenshot from this example attached... I assume this is not how it's supposed to work since it gets kind of useless to use the AttributeTableWidget together with the searchWidget if you use more than one search layer. The fields in the table needs to get updated when the attributes of the feature layer gets updated.