Title: sermon_sort_fields short code issue
Last modified: January 19, 2018

---

# sermon_sort_fields short code issue

 *  Resolved [mihu](https://wordpress.org/support/users/mihu/)
 * (@mihu)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sermon_sort_fields-short-code-issue/)
 * Thanks for continuously improve the plugin.
 * I notice there is an issue with sermon_sort_fields shortcode for bible book.
 * The auto sort feature is nice but only if bible book matches. In my case, we 
   use translated name for the bible books, so everything will return the same not
   found value.
 * The dropdown will then only contain 1 book.
 *     ```
       includes/template-tags.php
   
       683 // assign every book a number
       684 foreach ( $terms as $term ) {
       685   $ordered_terms[ array_search( $term->name, $books ) ] = $term;
       686 }
       ```
   
 * Is it possible to make auto sort as an optional feature?
 * Thanks,

Viewing 1 replies (of 1 total)

 *  [Nikola](https://wordpress.org/support/users/nikolam/)
 * (@nikolam)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/sermon_sort_fields-short-code-issue/#post-9892683)
 * Hi,
 * Thank you for the report, we haven’t thought of that scenario.
 * But, it has been fixed now.
 * We have made two changes:
    - There’s now a checkbox for enabling/disabling book ordering in Settings (“
      Debug” tab)
    - If auto ordering is enabled, books that can’t be ordered will be displayed
      at the bottom of those that can be
 * You can now either wait for the official release, or you can use development 
   version of the plugin until then. Just please do the following:
    1. Deactivate and remove existing Sermon Manager
    2. Download and activate [development version](https://downloads.wordpress.org/plugin/sermon-manager-for-wordpress.zip)
       of Sermon Manager
 * _Note: No data will be lost and you will receive future updates automatically._
 * Thanks again. 🙂

Viewing 1 replies (of 1 total)

The topic ‘sermon_sort_fields short code issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sermon-manager-for-wordpress_688896.
   svg)
 * [Sermon Manager](https://wordpress.org/plugins/sermon-manager-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sermon-manager-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sermon-manager-for-wordpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nikola](https://wordpress.org/support/users/nikolam/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/sermon_sort_fields-short-code-issue/#post-9892683)
 * Status: resolved