If I ask only for images to be returned in a search, all is fine. If I ask for albums, news, or pages to be included in search, zpMasonry will only display the number of items equal to the number of thumbnails per page set in the theme options.
The search count in the breadcrumb menu displays the correct number of images that should be displayed.
I honestly don't remember if this worked in 1.41 or not. It does not make any difference if infinite scrolling is on or off. I am using ZenPhoto ver. 1.411 with 7/21 trunk download. Tested this on fresh install of zpMasonry 1.41 theme and cleared cache.
Comments
In case it matters, my images are selected based on the tag field.
If I search for orchids and select content, title, tags, and description, the results should display an album named orchids as well as images that are tagged orchids or have orchids in image title or description. If content is checked, it should also return pages that contain the word orchids. E.g. an article like "In Search of the ... Orchid."
Currently, if I select tags and title, I see orchid images as expected. If I select content in addition to tags and title, no orchid images are shown at all.
If necessary I can post a link to a test site to demonstrate.
Yes, please post a link.
Hope you can clear up this mystery. I will try to update to latest nightly download in mentime.
"Fatal error: Call to a member function isDynamic() on a non-object in /home/content/n/a/t/<....>/html/test/zp-core/template-functions.php on line 1703"
If you have time, you might check the test site again to make sure that you don't get that error message (which I haven't seen).
Thanks.
With rewrite off, all works as expected.
If I enable mod_rewrite in gallery options, the default theme will display the correct count for images tagged with orchids and will show links to subsequent pages, but it will say no images found if one tries to go to following pages. However, as soon as I disable the rewrite option, the search works as expected on following pages.
I think this is because the link to 2nd page is incorrect with rewrite enabled.
With rewrite off, link for 2nd page of search shows:
http://natureinfocus.com/test/index.php?p=search&words=orchids&searchfields=tags&page=2
With rewrite on, second page link shows:
http://natureinfocus.com/test/page/search/orchids?searchfields=tags/2
which does not work instead of
http://natureinfocus.com/test/page/search/tags/orchids/2
which does work fine.
Yet if I search for certain combinations of fields such as tags and ttile, 2nd page link seems to work:
http://natureinfocus.com/test/page/search/orchids?searchfields=tags,title/2
You can verify this by clicking on the above links or at my test site which is using default theme with mod_rewrite enabled at http://natureinfocus.com/test . Search for orchids ans selecting only the tags field. AFAIK, any tag by itself will break the search.
I've purged image cache and internet cache. htaccess file is unchanged from what was installed by zenphoto.
`http://natureinfocus.com/test/page/search/orchids/2?searchfields=tags,title`
We will look into this.
[edit] fixed in the nightly build tonight.