Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Search function not working
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: Search function not working
#18281
Re:Search function not working 12 Years, 10 Months ago Karma: 0
*created - should have been 'Fшdselsdato'
The administrator has disabled public write access.
 
#18429
Re:Search function not working 12 Years, 10 Months ago Karma: 748
Sorry for the delay. Specify in what table field date is stored.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#18434
Re:Search function not working 12 Years, 10 Months ago Karma: 0
"Fшdselsdato" and "Dшdsdato"

I noticed another thing when I started searching in the table. In the table are people's names. If I enter Peter Petersen into the searchfield, I get Peter Petersen but I also get everyone else with the Petersen last name, it's as is if when the first name and last name are almost the same, the search function does not work correctly.

You can check it out here:
hafdal.dk/index.php/kirkegarde/lysabild-kirkegard
The administrator has disabled public write access.
 
#18456
Re:Search function not working 12 Years, 10 Months ago Karma: 748
Use the next SQL query:

Code:


SELECT 
  Kшn,
  Fornavn,
  Efternavn,
  Pigenavn,
  DATE_FORMAT(Fшdselsdato, '%d/%m/%Y') AS Fшdselsdato,
  Fшdested,
  DATE_FORMAT(Dшdsdato, '%d/%m/%Y') AS Dшdsdato,
  Dшdssted,
  Bemжrkning,
  Billede
FROM
  `tblGravsteder`
LIMIT
  0, 30



About search, the plugin is implemented in this way. When words separated by space, the plugin search all records which contain part of each entered words.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#18776
Re:Search function not working 12 Years, 10 Months ago Karma: 0
Great! Thanks so much for the help! Would it be possible to limit the search with ""?
The administrator has disabled public write access.
 
#18790
Re:Search function not working 12 Years, 10 Months ago Karma: 748
Currently it is impossible.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1234