Is it possible to reverse this order so that I could type:

Food, American (new)

instead of

American (new), Food

A feature request by NLMA

Currently this is not possible, but this could be integrated into the module as an optional configurable setting.

I will look into this during the next development cycle, probably mid-November to December.

Comments

NLMA’s picture

I'm currently running this on a live server, so I'll be happy to act as 'guinea pig' ;) Thx for the efforts.

alan d.’s picture

K. The dev version (may have to wait 24 hours) has the code.

There is a config option to reverse this in admin > tax > taxiselect (right at the top)

I've used ", " instead of " " as the reverse double arrow looked a bit strange. You can change this using a theming function.

<?php
function THEMENAME_taxiselect_suggestion($escaped_terms, $vid = NULL) {
  $sep = variable_get('taxiselect_reverse_lookup', 0) ? ' &laquo; ' : ' &raquo; ';
  return implode($sep, $escaped_terms);
}

?>

:)

alan d.’s picture

Status: Postponed » Needs review
NLMA’s picture

I rolled out the dev version, and things seem to work as expected.

Thanks!

alan d.’s picture

Status: Needs review » Closed (fixed)