Comments (4)
from generator-jhipster.
return { predicate: sortParam || undefined };
?
from generator-jhipster.
return { predicate: Boolean(sortParam) ? sortParam : undefined };
return { predicate: sortParam?.length ? sortParam : undefined };
return { predicate: sortParam !== undefined && sortParam.length > 0 ? sortParam : undefined };
return { predicate: (sortParam ?? '').length > 0 ? sortParam : undefined };
if (sortParam) {
return { predicate: sortParam };
}
return {};
from generator-jhipster.
return { predicate: sortParam?.length ? sortParam : undefined };
seems good
from generator-jhipster.
Related Issues (20)
- Schema validation can fail when ENUM or boolean types are used in entities with MySQL. HOT 4
- Swagger UI does not load while using JWT authentication HOT 1
- language blueprint fails during unit test
- Entity List No Show HOT 1
- angular & language generators combined in a blueprint throws error during unit testing
- Stand alone blueprint throws error during unit testing HOT 6
- Language blueprint throws error at prompt
- Deprecated Libraries Upgrading Needed HOT 3
- Can not integrate gRPC to Jhipster project HOT 1
- jdl blueprint errors when generating sample application using dev blueprint HOT 3
- `husky install` command is deprecated
- Microservice with reactive + MongoDB doesn't start HOT 1
- Micro Frontends with Angular doesn't compile HOT 3
- JHipster 8 doesn't work with Java 22 HOT 4
- Incremental changelog producing broken changelogs when adding/removing fields and relationships in the same jdl run
- Drop `jhipster-dependencies` dependency. HOT 8
- Missing Information for relationships "with joint fields" in the jhipster documentation. HOT 3
- Swagger UI Not Displaying APIs in Gateway Application HOT 4
- Override of Prettier plugins during code transformation seems not possible with 8.2.1 release HOT 2
- Building the generator on plain Windows fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-jhipster.