Title: Selection bug
Last modified: September 19, 2016

---

# Selection bug

 *  Resolved [jpopeck](https://wordpress.org/support/users/jpopeck/)
 * (@jpopeck)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/selection-bug/)
 * Hello
 * I have a bug in my catalog with a custom field [http://www.montre-cardio-gps.fr/trouvez-facilement-votre-montre-cardio-gps/](http://www.montre-cardio-gps.fr/trouvez-facilement-votre-montre-cardio-gps/)
 * When one ticks “Suivi d’itinéraire” under “Navigation”, everything disappears.
   There should be 16 results.
    Every other custom field seem to work just fine 
   except this one.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/selection-bug/#post-8202648)
 * Hi Peck,
 * It looks like that’s the only one of your custom field values with an apostrophe
   in it. This may be causing an error in the query. As a test, can you try removing
   the apostrophe from the name and then checking to see if you can now filter properly?
   If that works, and you need to use the apostrophe in the name, then you can try
   inserting a backslash (“\”) before the apostrophe, to escape it, like so:
 *     ```
       Suivi d\'itinéraire
       ```
   
    -  This reply was modified 9 years, 9 months ago by [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/).
 *  Thread Starter [jpopeck](https://wordpress.org/support/users/jpopeck/)
 * (@jpopeck)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/selection-bug/#post-8217916)
 * Thanks that solved the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Selection bug’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-product-catalogue/assets/icon-128x128.png?rev=1805317)
 * [Ultimate Product Catalog](https://wordpress.org/plugins/ultimate-product-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-product-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-product-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-product-catalogue/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jpopeck](https://wordpress.org/support/users/jpopeck/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/selection-bug/#post-8217916)
 * Status: resolved