Opened 14 years ago

Closed 14 years ago

#8237 closed enhancement (wontfix) Hook for replacing

Reported by: holgerthurow Owned by: Jared Jurkiewicz
Priority: high Milestone: tbd
Component: DojoX Data Version: 1.2.0
Keywords:, patternToRegExp() Cc:
Blocked By: Blocking:


There should be a hook for a own patternToRegExp() function instead of in

regexpList[key] =, ignoreCase);

in So we could use regular expressions in defining a query, i. e.

    query : {name : "^(Spanish|French)$"},
    queryOptions : {ignoreCase: 1},
    onItem : function(item, request){ ... }

I have successfully tested such regular expressions in queries by overwriting for testing purposes.

Change History (1)

comment:1 Changed 14 years ago by Jared Jurkiewicz

Resolution: wontfix
Status: newclosed

ItemFileReadStore? has a defined query syntax for it, which is spelled out in the documentation. If you want to over-ride/alter this behavior, then you should extend the store and modify the functions in question. I'm not going to add in a hook to alter how the query info is handled given the extensive documentation on what ItemFile?*Store uses for query, sorry.

Marking as closed, wontfix.

Note: See TracTickets for help on using tickets.