Member
Member
vstam   2011-03-28, 10:48
#1

Hello!
Here are some details of the installation:
Zenphoto version 1.4.0.3 [6817] (Official Build)
Current locale setting: en_US.UTF8
Current gallery theme: Greek Orchid Society, based on Default theme(just changed the CSS basically and added one line of php code in image.php).
PHP version: 5.2.15, MySQL version: 5.1.52, My browser: Firefox 3.6.16
Search options: Search field: Title, treat spaces as AND, return image matches only.

Search query URL: http://www.greekorchidsociety.org/orchids/gallery/index.php?p=search&words=Aerangis+biloba+%28Lindl.%29+Schltr.

Zenphoto output:
Total matches for Aerangis AND biloba AND ( Lindl. ) AND Schltr.: 5

Aerangis biloba (Lindl.) Schltr.
Amitostigma lepidum (Lindl.) Schltr.
Amitostigma lepidum (Lindl.) Schltr.
Amitostigma lepidum (Lindl.) Schltr.
Amitostigma lepidum (Lindl.) Schltr.

(There are four differebt photos with title "Amitostigma lepidum (Lindl.) Schltr." so that is OK)

But why does it show "Amitostigma lepidum (Lindl.) Schltr."? It should only show "Aerangis biloba (Lindl.) Schltr." since it treats spaces as AND, or am I missing something?
I get the same search results if I search for "Amitostigma lepidum (Lindl.) Schltr.", even though that should not happen either.

This issue exists even if I switch back to the default theme, so I don't think my custom theme is the issue.

Any ideas?
Thank you for your time and a for a magnificent piece of software!!!

Vasilis

Member
Member
sbillard   2011-03-28, 18:17
#2

What are the %28 and %29 characters supposed to be? If I eliminate them, the search works as you wish. With them, the last space is somehow not made into an AND.

Member
Member
vstam   2011-03-28, 19:16
#3

Actually, I did not notice that. At the address bar they appear as brackets. But when I copy and paste the url, they are transformed into %28 and %29. It is not Zen Photo related then.
Thank you!

Member
Member
sbillard   2011-03-29, 16:56
#4

I did some experimentation. Looks like there is a Zenphoto problem handling parenthetical clauses vs the space handling. Well see if we can find a fix.

Member
Member
sbillard   2011-03-29, 17:55
#5

I have fixed the basic paren issue. Fix will be in tonight's build. Give it a try and see if it also fixes your issue.

Member
Member
vstam   2011-03-31, 04:26
#6

Thank you sbillard! I will give it try ASAP and let you know.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.