Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1037 closed enhancement (fixed)

Add 'id' column to all list pages

Reported by: Nicklas Nordborg Owned by: Martin Svensson
Priority: critical Milestone: BASE 2.8
Component: web Version:
Keywords: Cc:

Description

The internal ID of items is not visible anywhere in the web interface. The solution for #1028 will probably need that information when exporting data as the first step of an import cycle. Having the internal ID visible in the web interface will also make it easier to find items related to error messages in the log file (which may only display the ID).

Do we need to display the internal ID also on single-item view pages?

Change History (6)

comment:1 Changed 14 years ago by Nicklas Nordborg

The most important list pages are the biomaterials section (biosource, sample, extract, labeled extract) and from hybridizations, scans and raw bioassays.

Here are the changes that needs to made on a list page (list_xxxx.jsp).

Add a column definition:

<tbl:columndef 
   id="id"
   property="id"
   datatype="int"
   title="ID"
   sortable="true" 
   filterable="true"
   exportable="true"
/>

Code for displaying the ID:

<tbl:cell column="id"><%=item.getId()%></tbl:cell>

comment:2 Changed 14 years ago by Martin Svensson

Owner: changed from everyone to Martin Svensson
Status: newassigned

comment:3 Changed 14 years ago by Martin Svensson

(In [4331]) References #1037 The most important list pages are done.

comment:4 Changed 14 years ago by Martin Svensson

(In [4332]) References #1037 Most of the list pages can now show an item's ID.

comment:5 Changed 14 years ago by Martin Svensson

Resolution: fixed
Status: assignedclosed

(In [4333]) Fixes #1037 Add 'id' column to all list pages

comment:6 Changed 14 years ago by Nicklas Nordborg

(In [4349]) References #1037: Add 'id' column to all list pages

Fixed incorrect spelling of attribute.

Note: See TracTickets for help on using tickets.