Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1327 by [email protected]: Sorting treeview error when mixing identifiers with none identifiers
http://code.google.com/p/qubit-toolkit/issues/detail?id=1327

To reproduce this error:
========================
1)Set treeview on sort by identifier-title
2)create objects with and without identifiers
3)view archival description


Resulting error:
================
Treeview doesn't sort well due to the fact that there are null values in
the identifier.

Expected result:
================
Treeview should ignore the null value(which can't be sorted) and sort on
title instead.

I've temporarily fixed this in my installation by setting a default value
for identifier and changing the condition in isad.class.php to exclude the
default-value from the composed identifier(in this case 'geen'):

<application_root>/lib/isad.class.php

if (($ancestor->getIdentifier()) and ($ancestor->getIdentifier() !=
'geen'))
    {
      $identifiers[] = $ancestor->getIdentifier();
    }

This is off course a dirty hack, but it does the trick and the default is
only visible while editing the information object.

Cheers,

Maarten




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to