Skip to content

the max() or min() functions not working #103

Description

@alibazregar

this example we receive error : g is not defined

HTML:

 <basis core="print" datamembername="db.navigationcat">
                    <layout> @child </layout>
                    <face filter="RowNumber = max(RowNumber)">
                        <li><a href="/@Link">@Title</a></li>
                        
                    </face>
                    <face filter="Parentcatid = 55933">
                        <li><a href="/">صفحه اصلی</a></li>
                        <li>/</li>
                    </face>
                    <face filter="Parentcatid not in (52543) and Link is not null">
                        <li><a href="/@Link">@Title</a></li>
                        <li>/</li>
                    </face>
                </basis>

IL :

{"$type":"print","core":"print","data-member-name":"db.navigationcat","layout-content":" @child ","faces":[{"filter":"RowNumber = max(RowNumber)","content":"\r\n <li><a href=\"/@Link\">@Title</a></li>\r\n \r\n "},{"filter":"Parentcatid = 55933","content":"\r\n <li><a href=\"/\">صفحه اصلی</a></li>\r\n <li>/</li>\r\n "},{"filter":"Parentcatid not in (52543) and Link is not null","content":"\r\n <li><a href=\"/@Link\">@Title</a></li>\r\n <li>/</li>\r\n "}]},

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions