Ticket #770 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

GS3: multiple titles assigned, first title repeats in browsing classifier

Reported by: ak19 Owned by: ak19
Priority: moderate Milestone: 3.05 Release
Component: Greenstone3 Runtime Severity: major
Keywords: Cc:


When multiple titles are assigned to a doc, the titles browsing classifier wrongly shows up only the first title even though the document is correctly listed multiple times (once for each assigned title).

mdoffset and mdtype are not used.

Change History

Changed 9 years ago by ak19

  • milestone set to 3.05 Release

Changed 9 years ago by ak19

  • status changed from new to closed
  • resolution set to fixed

This was previously not implemented: Greenstone 3 did not consult the mdtype and mdoffset fields to work out which value is to be displayed for a metadata that had multiple values.

This problem is now fixed. Changeset 24254 is the revision with the commited changes for this fix.

Note that the changes required that the "multiple" attribute of a gsf:metadata no longer is a boolean field (no longer takes merely true or false) but also takes the value "offset" now.

Although consulting the "mdtype" field in the GS database does not appear necessary in the GS3 case (the user should know to specify multiple=offset for a metadata that contains multiple values and for which they want the value shown that is associated with its index in the Greenstone database's mdoffset field), the GS3 code now does consult the mdoffset field.

An example of its use:


<gsf:metadata name="dc.Title" select="current" multiple="offset" />

<gsf:metadata name="Title"/>




Commit message: Commits for ticket 770 concerning the display of multiple values for a metadata (like dc.Title) when classified by that metadata. So when the user browses by dc.Title, they no longer merely see a doc listed once for each dc.Title assigned but under the same (first retrieved) dc.Title, but they should now see the doc listed once for each dc.Title assigned to it with a different dc.Title value each time.

Committed files: web/interfaces/default/transform/config_format.xsl









Changed 9 years ago by ak19

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 9 years ago by ak19

  • owner changed from nobody to ak19
  • status changed from reopened to new

Changed 9 years ago by ak19

  • status changed from new to closed
  • resolution set to fixed

Changed 9 years ago by ak19

Note: See TracTickets for help on using tickets.