I have the panel presented below that is doing the drill down. However, the variable I want to pass to the drill search "$row.LastQuery$" is not being updated. Also, splunk UI modifies the search by adding at the end of my search "|search Date="03/19/2013". The value of Date seems to be the period of the first search. How can I fix the panel so the variable is correctly replaced and the search is not modified ?
ConvertToDrilldownSearch just does this weird automatic drilldown logic, where it'll take the value from the first column, and try and add it as a searchterm. In this case though, you want to add specifically the 'LastQuery' value, and to a specific place in the search. For that you'll need to replace ConvertToDrilldownSearch with a ConvertToIntention module and you'll need to get the extremely finicky syntax right for the stringreplace intention to work.
Also I'm not sure how in the core systems you specify that you want a particular field value to be used from the drilldown, rather than just specifying $click.value$ as the value of the first row. I'm actually not sure you can, at least I think you need some other module to be involved somehow.
With Sideview Utils the drilldown is quite easy, and actually the whole config becomes a lot simpler in a lot of ways. Here's a converted view with the same functionality but with no intentions to ever think about and with less XML.
While I was converting it, I noticed a couple things that I fixed.
-- you had config to redirect to flashtimeline on the last table, but it was turned off via the <param name="drilldown">none</param> Since it was disabled I just deleted this.
-- you had your paginator and your SimpleResultsTable configured to display events, but on a search that was actually getting 'results'. This is a weird point but it might have been causing some confusion. I just left Pager and Table set to the defaults which will work fine here.