sillsdev / sillsdev/languageforge-lexbox

headword code should pick default ws, choses first alphabetically

Open
#1,284 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📖 MiniLcm bug
Dominant language
C#
Stars
9
Forks
8
Avg merge
2d 13h
Merged PRs (30d)
49

Description

Describe the bug
Right now entry headword is chosen by sorting by the WsId and picking the first value, we should instead choose the default WS for the project first.

Expected behavior
The headword should match the default ws unless it's empty

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the code that selects the entry headword and inspect how the project's default writing system (WS) is determined. Verify the current alphabetical selection, then test that the default WS is chosen when it has a value and that the existing fallback applies when it is empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.