[Bug 38261] New: JS warning "unreachable code after return statement"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38261 Bug ID: 38261 Summary: JS warning "unreachable code after return statement" Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: ILL Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org CC: pedro.amorim@ptfs-europe.com, tomascohen@gmail.com 792 function getTitle(meta) { 793 if (meta.article_title && meta.article_title.length > 0) { 794 return 'article_title'; 795 return { 796 prop: 'article_title', 797 value: meta.article_title 798 }; 799 } else if (meta.title && meta.title.length > 0) { 800 return 'title'; 801 return { 802 prop: 'title', 803 value: meta.title 804 }; 805 } 806 }; -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38261 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30719 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Easy to fix, please provide a patch! Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30719 [Bug 30719] ILL should provide the ability to create batch requests -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org