Can not browse by Movement Label

working with git/develop:
I have been unable to browse by Movement Labels unless I modify /app/lib/Browse/BrowseEngine.php ~line 3502 adding an array_filter:

$group_by_fields = array_filter(array_unique(array_merge($va_label_order_by_fields, $va_label_ui_fields, ["l.{$vs_label_display_field}", $vs_parent_fld_select, "l.locale_id", "l.{$vs_item_pk}"])));

to remove the empty term returned by $vs_parent_fld_select in line 3500 that causes a sql error.

Is this a hack hiding another problem...or should I file a bug report?

title_facet = {
    type = label,
        restrict_to_types = [],
        preferred_labels_only = 1,

        group_mode = alphabetical,

        label_singular = _("Movement title"),
        label_plural = _("Movement titles")
    },

Comments

Sign In or Register to comment.