addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


Jane Models

sitepic_janeModelsShowcase.jpg:
Viewable with Any Browser

Members
Join Now
Login

addedValueMacros.queryRedoLink

Syntax

{addedValueMacros.queryRedo(whatText, customKey="", queryID="", reportId="", sortBy="", sortByTransform="", sortDirection="", parameterValues="",whatTarget, anchor, class, title, accesskey, hreflang, tabindex, onmouseOver, onmouseOut, onClick)}

Examples

{addedValueMacros.queryRedoLink("xx", "xx")}
Good example needed here.

Semantics

The query macro performs a "canned" search using the query named queryID, and produces a string using the specified report. The queryRedoLink macro provides a way to "rerun" a query with different values of sortedBy or initialvalues. It builds a link to the page where the call to the query macro was made, with flags to tell the query macro to use different run time values. When used with queries with parameters, this is a very powerful feature.

One use for this, is to create reports whose column headers are links to sort the entries according to the values of a variable different from that used previously (in the query options or in the call to the query macro).In this website, reports showign all stories, all pictures and all gems, have clickable column headers that chnage the sort order, using this technique.

See also