문제

I was wondering how to get this to run. In my application I have a Category table and Product table. I need to have a pager which combines both Categories and Products for display in one list (first categories then products). Is there a way to get this going ? I tried left joining in the pager's query, but doesn't seem to do the trick.

도움이 되었습니까?

해결책 2

그것은 불필요 할 수 있지만 makefile.am에 AC_PROG_CC를 단순히 추가 할 수있는 것이 아플까?최소한의 저항과 모든 경로.

이 10 년 오래된 메일 링리스트 메시지를 끄십시오 :

http://lists.gnu.org/chritive./html/automake/2003-01/msg00057.html

progname_sources를 비어있게 정의 해야하는 것처럼 들립니다.POST가 올바르게 이해하면 명시 적 표현을 생략하면 ProGname_Sources가 암시 적으로 ProGname.c로 정의됩니다.

다른 팁

If you can write a doctrine query to return the complete list of what you want, then the pager will page it.

Not sure without a schema how you might write such a query, not even 100% sure what you want to do. But if you are trying to list products with related category info, then you'll be needing a join, else if you want a mixed list of categories and products, you'll probably be wanting a UNION query.

If you post a schema and a bit more info about what you are doing, can try to help you.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top