I have been able to take a view and have your Exhibit module render it. Works great.

The only problem is that it shows only 10 results. And my view is set display 100.

Also, I have Fields set to display Taxonomy terms and they show up in the rendered page, but do not show up in the view.

Comments

davidseth’s picture

Here is the view displayed as a page: http://www.crca.asn.au/exhibit_orgs, notice that it displays all 56 Organisations.

And here is the JSON view created by your module: http://www.crca.asn.au/exhibit/views/exhbit_organisations, this one only displays 10 Organisations.

This exhibit page works well, but it is using a Google spreadsheet as a data source: http://www.crca.asn.au/directory/crc

davidseth’s picture

Status: Active » Needs review

Found the problem.

Here is a bit of background: http://drupal.org/node/279925. If you just issue

from: exhibit_views.module

$view->execute(NULL); line ~77

it does not copy the fields from the display.

You need to use:

 $view->execute_display('default'); line: ~77

and then the fields and the items_per_page are respected.

jhuckabee’s picture

Status: Needs review » Fixed

This has been incorporated in the latest release of the module. Thanks for the fix.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.