coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: serg5777 on August 05, 2013, 10:56:24 AM

Title: Do not look for keywords in small letters
Post by: serg5777 on August 05, 2013, 10:56:24 AM
This form of search on the site:
<div class="searchbox">
<form method="get" action="thumbnails.php" name="searchcpg" id="cpgform3">
<input type="text" style="width: 70%" name="search" maxlength="255" value="" class="textinput" />
<input type="hidden" name="album" value="search"/>
<input type="hidden" name="title" value="on"/>
<input type="hidden" name="keywords" value="on"/>            
<input type="hidden" name="caption" value="on"/>   
<input type="submit" value="Search" class="button"/>
</form>
</div>
Finds keywords only if administered in the search word with a capital letter:
"Нина" - finds
"нина" - not finds
Help me please :)
Title: Re: Do not look for keywords in small letters
Post by: serg5777 on August 05, 2013, 10:59:26 AM
Language - Russian
Title: Re: Do not look for keywords in small letters
Post by: Αndré on August 23, 2013, 02:32:16 PM
As far as I know the commonly used default MySQL collations are not case sensitive. Maybe you use a case sensitive collation, but it's maybe a Unicode issue. There are already some threads in our board dealing with that issue. Some people WANT to have a case sensitive search and therefore changed the table collations. Maybe you can do the opposite. There's also an open thread (http://forum.coppermine-gallery.net/index.php/topic,76446.0.html) in the bug board.

Unfortunately I cannot give you a direction what exactly you have to do, as I also have to look closer at that issue.